assertFalse( "Expecting no failsafe report file", siteFile.isFile() );
}
public void testSkippedSurefireReportGeneration()
{
OutputValidator validator = unpack().activateProfile(
"skipSurefire" ).addFailsafeReportOnlyGoal().addSurefireReportOnlyGoal().executeCurrentGoals();
TestFile siteFile = validator.getSiteFile( "surefire-report.html" );
System.out.println( "siteFile.getAbsolutePath() = " + siteFile.getAbsolutePath() );
assertFalse( "Expecting no surefire report file", siteFile.isFile() );
siteFile = validator.getSiteFile( "failsafe-report.html" );
System.out.println( "siteFile.getAbsolutePath() = " + siteFile.getAbsolutePath() );
assertTrue( "Expecting failsafe report file", siteFile.isFile() );
}