-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add test for AllNodesBuildParameterFactory class #369
Add test for AllNodesBuildParameterFactory class #369
Conversation
@MarkEWaite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Very nice work.
You could further increase the branch coverage of the getParameters() method if you created a test that set the number of executors of one of the agents to 0. That branch of the getParameters()
conditional does not seem to be covered in any of the current tests.
The comments I've made are all optional.
Don't forget to update your local copy of the master branch to match the upstream copy of the master branch.
Also, when creating the pull request description, the checklist formats more nicely if you use [X] something
instead of [ X] something
. The extra space inside the square brackets causes the GitHub formatter to not show it as a checked box.
...nkins/plugins/nodelabelparameter/parameterizedtrigger/AllNodesBuildParameterFactoryTest.java
Outdated
Show resolved
Hide resolved
...nkins/plugins/nodelabelparameter/parameterizedtrigger/AllNodesBuildParameterFactoryTest.java
Outdated
Show resolved
Hide resolved
...nkins/plugins/nodelabelparameter/parameterizedtrigger/AllNodesBuildParameterFactoryTest.java
Outdated
Show resolved
Hide resolved
Yes these comments accurately depict the workflow and results to expect off of tests. Thank you
OK I will do this from now |
Testing done
I have added automated tests for the AllNodesBuildParameterFactory class
Submitter checklist