jenkinsci / badge-plugin

Jenkins Badge plugin
https://plugins.jenkins.io/badge/
MIT License
32 stars 43 forks source link

Add a few tests to increase code coverage #143

Closed MarkEWaite closed 6 months ago

MarkEWaite commented 6 months ago

Add a few tests to increase code coverage

Testing to see the behavior of Coveros report when coverage increases

Tests are low value but they should run fast enough to not disrupt.

Testing done

Confirmed that new tests pass on Linux with Java 21.

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue