plugin-installation-manager-tool
plugin-installation-manager-tool copied to clipboard
Added plugin information while using verbose
Fixes #610
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
Thanks @MarkEWaite I have one doubt, How can i compare the logs of --verbose for the test cases. I need to test whether the log containing particular statement or not that concludes the plugin is already present or not
Thanks @MarkEWaite I have one doubt, How can i compare the logs of --verbose for the test cases. I need to test whether the log containing particular statement or not that concludes the plugin is already present or not
I would search the existing tests in the repository to see if any of them are already testing the output. If such a test already exists, then I'd copy its source code into a new test and adapt the new test to check the new behavior.
plugin-management-cli/src/test/java/io/jenkins/tools/pluginmanager/cli/CliOptionsTest.java looks like a good place to start
Thanks @MarkEWaite I have one doubt, How can i compare the logs of --verbose for the test cases. I need to test whether the log containing particular statement or not that concludes the plugin is already present or not
I would search the existing tests in the repository to see if any of them are already testing the output. If such a test already exists, then I'd copy its source code into a new test and adapt the new test to check the new behavior.
plugin-management-cli/src/test/java/io/jenkins/tools/pluginmanager/cli/CliOptionsTest.javalooks like a good place to start
Thanks @MarkEWaite