@RepeatedTest example
This lesson demonstrates how to use @RepeatedTest annotation to run tests multiple times.
We'll cover the following...
@Repeated Tests
JUnit 5 Jupiter provides the ability to repeat a test a specified number of times. It is done by simply annotating a method with @RepeatedTest
. To this annotation, we specify a number which is the total number of repetitions desired. For each and ...