Attached is a project that uses JUnit4 categories . Convert the project to JUnit5 to use tags instead but keep the logic and functionality the same. You may not need certain classes such as "SlowTests.java", "FastTests.java" , "Others.java" .
TestSuite1 output is as:
TestA::b()
TestB::c()
TestB::d()
TestC::f()
TestSuite2 output is as:
TestC::e()
TestC::f()