Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tests for JobBadgeAction * Improved readability * Typo fix in the method resolveWithNullParameter * Format with mvn spotless:apply * Fixed the path URL and replaced reading response with scanner to Jenkins.Webclient * Fixed the path URL and instead of reading response with scanner tried Jenkins.Webclient * Fixed the path URL and replaced reading response with scanner to Jenkins.Webclient * tried to apply the PublicBuildStatusAction markers green and grey hex code to match in my code too * Combined both the test cases passing and failing into one Test and changed the failing marker * Remove println from test * Reduce diffs to master branch, refine based on PR comments See the pull request comments for details of each change. * Temporarily comment failure to see coverage report * Fix formatting * Revert "Temporarily comment failure to see coverage report" This reverts commit b6321c4. * Add test for increasing coverage * Cover the null project case with a test It is not expected to encounter a null project in Jenkins, but the null case is handled in the production code, so let's cover it with a test. * Randomize style, subject, and status checks to assure accuracy Test value randomization with assertions of expected results are more difficult, but they make it less likely that an error will be undetected. Removes the BUILD_AND_RUN_MARKER and BUILD_NOT_RUN_MARKER checks because they never seem to be in the test output. Adds comments that will guide future changes to increase coverage. * Increase coverage by reusing test for more cases --------- Co-authored-by: Mark Waite <[email protected]>
- Loading branch information