SurefireLauncher surefireLauncher = unpack().failNever();
surefireLauncher.executeTest();
surefireLauncher.addGoal( "-Daggregate=true" );
OutputValidator validator = surefireLauncher.execute( "surefire-report:report" );
TestFile siteFile = validator.getSiteFile( "surefire-report.html" );
siteFile.assertContainsText( "MyModule1ClassTest" );
siteFile.assertContainsText( "MyModule2ClassTest" );
siteFile.assertContainsText( "MyDummyClassM1Test" );
}
public void testReportWithoutAggregate()