Open
Description
openedon Jul 5, 2016
Status Quo
Since 5.0 M1, dynamic tests can be registered as lambda expressions, but there are a few limitations with the current feature set.
Topics
- Lifecycle callbacks and extensions are not applied around the invocation of a dynamic test.
- A dynamic test cannot directly benefit from parameter resolution.
- A dynamic test cannot make use of a
TestReporter
.
- A dynamic test cannot make use of a
Related Issues
- Introduce support for parameterized tests #14
"Introduce support for parameterized tests" - Improve documentation of DynamicTest lifecycle #386
"Improve documentation of DynamicTest lifecycle" - TestReporter does not capture the correct TestIdentifier when used with DynamicTests #393
"TestReporter does not capture the correct TestIdentifier when used with DynamicTests" - Introduce mechanism for terminating Dynamic Tests early #431 "Introduce mechanism for terminating Dynamic Tests early"
- Let @BeforeEach and @AfterEach work around all the tests from a single TestFactory (or introduce a new similar @Before/@After pair) #694 (duplicates this issue, with example)
Deliverables
Address each topic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment