I have a class that is a JUnit suite of JUnit test classes. I would like to define a rule on the suite to do something to the database before and a
You can group tests with TestNG. And you can configure TestNG to run some logic @BeforeGroup and @AfterGroup.