You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we don't have a reliable way to test the features (e.g. status checks, checks steps) that require the involvement of an implementation. Thus, adding a LogPublisher only for testing that logs the check details or anything being published is a good way to improve our test coverage and quality.
After injecting the LogPublisher into the Jenkins instance while testing, we can later check the log to make assertions, examples are like:
Currently, we don't have a reliable way to test the features (e.g. status checks, checks steps) that require the involvement of an implementation. Thus, adding a
LogPublisher
only for testing that logs the check details or anything being published is a good way to improve our test coverage and quality.After injecting the
LogPublisher
into the Jenkins instance while testing, we can later check the log to make assertions, examples are like:checks-api-plugin/src/test/java/io/jenkins/plugins/checks/steps/PublishChecksStepITest.java
Line 28 in 75b92fb
The text was updated successfully, but these errors were encountered: