I vote also for child reference. What about the following for referencing more than one suite:
@BelongsToSuite({MySuite.class, SecondSuite.class})
The point from robert is for us very usefull:
@BeforeSuite and @AfterSuite
When this works in combination with persistence extension api:
@UsingDataSet and @DataSource
then we can inject data for all tests on different datasources. Very cool feature…
So for this to work well the
@BeforeSuite and @AfterSuite
Annotation should not be restricted to use only once in suite. If annotated on more than one method you can use same/different datasets on different datasources. Very useful in our case, as we have a multi schema application…