NodeJS Code coverage and Test Tab not found
Completed
Hello,
I am using this Nodejs plugin https://teamcity.jetbrains.com/viewLog.html?buildId=2539985&buildTypeId=bt434&tab=artifacts
I need to run test cases and generate code-coverage on Teamcity dashboard. Does it require any additional step to be performed to get "Test" and "Code coverage" tabs to see the test results?
Please sign in to leave a comment.
Hi,
while we provide a platform for the plugin build and distribution, it's developed independently of teamcity, that's why it's under the third party plugin section. Further support for it should be requested directly to the dev on github.
I'm not fully familiar with it, but a quick scan doesn't seem to have any way to report directly the results into teamcity, so if your testing and coverage tool generates XML reports you might want to look into this feature: https://www.jetbrains.com/help/teamcity/xml-report-processing.html
If you use jest then add this module https://www.npmjs.com/package/jest-teamcity-reporter to your project