Exercise 1: Add JUnit 5 Tag to All Test Methods Found From a Test Class

This exercise helps you to understand how you can add one JUnit 5 tag to all test methods found from a 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 JUnit5TagExerciseTest class have the tag: ‘unitTest’.

3. Run your tests with Maven or Gradle. Make sure that all three test methods are run.