...

/

Types of DynamicTest

Types of DynamicTest

Let's learn how to dynamically test simple and nested methods in JUnit 5.

There are two types of dynamic tests:

  • Simple DynamicTest
  • Nested DynamicTest

Simple DynamicTest

All test cases we’ve created so far are static. They’re defined at compile-timeA time period when the programming code is converted to the machine code. and can’t be changed at runtime. In JUnit 5, we can create dynamic tests that are generated at runtimeA time period when a program is running. by ...