How do dynamic tests differ from parameterized tests in JUnit 5?

Almost all the examples of dynamic tests that I have seen can be redesigned and written using parameterized tests. Thus, this is a practical scenario where dynamic tests are the only option, or at least better suited for parameterized tests.

The only "really" dynamic test case in JUnit 5 docs is not practical.

Any ideas?

+6
source share
1 answer

DynamicTest, ParameterizedTest junit-jupiter-api, junit-jupiter-params (. 3.12.1. ). , JUnit 5 " " ( ยท junit-team/junit5 Wiki).

JUnit Jupiter API , JUnit, JUnit Jupiter Params API .

JUnit 5.0 M5 Milestone " API". , ( , / ), . , , .

, , , - "" API (, /), , (, ).

+4

All Articles