Although not a novelty concept, dynamic tests in the current form were introduced in JUnit 5. The main point of dynamic tests is to demonstrate that users can can generate tests dynamically, at runtime.
When I need to create and API endpoint I usually like to write an integration test first that will cover the basic happy scenarios. By doing this I make sure th
Thanks to the new architecture that JUnit 5 introduces it is possible to run both JUnit 4 and JUnit 5 tests in the same project.
When I say “before and after” I refer to running the code always, for all tests, independent whether @Before and @After are present in a test or not. I don’t ha