Code example for TestResult

Methods: errorCountfailureCount

0
 
 
	public static void main(String args[]) {
		TestRunner runner = new TestRunner();
		TestResult result = runner.doRun(new TestSuite(DiscoveryCycleTestCase.class));
		System.exit(result.errorCount() + result.failureCount());
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE