-
Bug
-
Resolution: Unresolved
-
Minor
Increase automated test coverage
Automated test coverage of the embeddable build status plugin is lower that is desired. Improve the automated test coverage by submitting pull requests with new automated tests.
Review current coverage
Review the current test coverage with the commands:
Linux
$ mvn -P enable-jacoco clean install jacoco:report $ xdg-open target/site/jacoco/index.html
Windows
C:\Users\Yourname > mvn -P enable-jacoco clean install jacoco:report C:\Users\Yourname > start target\site\jacoco\index.html
Create a new test for a class that is not well covered
Most integrated development environments have tools that will create a test stub that is a good beginning. Apache Netbeans has "Create / Update tests" . JetBrains IntelliJ has "Create tests". Visual Studio Code has the "Extension Pack for Java".
Use the IDE or your own coding to create a test for one of the classes that is not well covered by tests.
Keep the test small so that the pull request is easy to review.
- links to
yashre_bh you could improve the test coverage of one of the other plugins that I maintain. No Jira issue for them, but the same instructions can be applied to:
If you prefer to use a Jira ticket as the starting point, you could copy the description from this Jira ticket, create a new Jira ticket for one of those plugins, and assign it to yourself.
There are two tickets that someone said they wanted to improve but then didn't improve:
You can work on those as well.