junit5
junit5 copied to clipboard
Introduce zero invocations in test templates and parameterized tests
Add a flag to ParameterizedTest to control arguments requirement. This allows users to explicitly opt out from validation of arguments set count and silently skip a test if no arguments are provided
In general, support TestTemplateInvocationContextProvider returning zero invocation contexts. Such providers must override new interface method to indicate that the framework should expect "no context returned"
Resolves #1477
Overview
Implemented the team decision described in this comment
I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
- [x] There are no TODOs left in the code
- [x] Method preconditions are checked and documented in the method's Javadoc
- [x] Coding conventions (e.g. for logging) have been followed
- [x] Change is covered by automated tests including corner cases, errors, and exception handling
- [x] Public API has Javadoc and
@APIannotations - [ ] Change is documented in the User Guide and Release Notes
Need this feature a lot! Is there a forecast for when it will be ready?
Let me know if you are ok with the latest change, I will do the rebase.
Let me know if you are ok with the latest change, I will do the rebase.
Thanks for making the changes. I'll take it from here!
@nskvortsov Thank you! :+1: