Exercise 6: Add Multiple JUnit 5 Tags to One Test Method

This exercise helps you to understand how you can add multiple JUnit 5 tags to one test method. 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 the testMethodFoundFromRootClass() method, that’s found from the JUnit5TagExerciseTest class, has the tags: ‘unitTest’ and ‘fast’.

3. Run your tests with Maven or Gradle. Make sure that only the testMethodFoundFromRootClass() method is run.