-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: Activate JaCoCo during regression test execution #12
Comments
@deors please, take a look on PR's which in referenced |
Hi @anton-kasperovich. The PR looks good, and it brings calculation of code coverage of unit tests and the publishing of the results to SonarQube. However I had in mind specifically the code coverage of regression tests (Cucumber, Selenium and what-not). Activating this it is a bit more challenging, and would involve these steps:
Note: instead of playing with reset/dump commands, it is possible to work with sessions in JaCoCo, but I think it would add more complexity to the setup of the jobs. For more information on how to issue the dump/reset commands, you can see references in JaCoCo FAQ, Ant task, Maven plug-in and can also be controlled through JMX extension: |
I forget to add. Instead of step 2 for doing the reset, we can alternatively do the dump followed by the reset in step 3. Probably easier and cleaner. |
Activate JaCoCo during regression test execution so we can gather coverage from those tests and afterwards pull them into SonarQube. This is useful specially for the overall code coverage metrics, which calculates the coverage from unit and integration tests combined.
The text was updated successfully, but these errors were encountered: