Exercise 5: Add Multiple JUnit 5 Tags to All Test Methods Found From a Nested Test Class

This exercise helps you to understand how you can add multiple Unit 5 tags to all test methods found from a nested test class. You can finish this exercise by following these steps:

1. Open the JUnit5TagExerciseTest class that’s found from the com.cleantestautomation.junit5intro package.

2. Ensure that all test methods found from the NestedTestClassOne class have the tags: ‘unitTest’ and ‘fast’.

3. Run your tests with Maven or Gradle. Make sure that only the test method, that’s found from the NestedTestClassOne class, is run.