Is it possible to generate Code Coverage for a TestSuite
Answered
Is it possible to generate Code Coverage for a TestSuite in Intellij ?
I am able to generate Code Coverage for JUnit Tests over all Packages and Directories but cant see how to generate the stats for a TestSuite. I am using Intellij Community Edition 2020.1
Thank you for your help.
Rob.
Please sign in to leave a comment.
Hello robbie70,
Code coverage for test suite should work without additional settings.
yes I can confirm that that's correct Olga - it works the same way as for running a normal JUnit test - you simply right-click over the TestSuite name in question and select the option for 'run TestSuiteNameInQuestion with Coverage'.... thanks for getting back so quickly.