We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654f6f5 commit e4e96e6Copy full SHA for e4e96e6
src/test/java/coreapiTest/TestRunner.java
@@ -2,8 +2,6 @@
2
3
4
import coreapi.*;
5
-import junit.framework.Test;
6
-import junit.framework.TestSuite;
7
8
import org.junit.runner.JUnitCore;
9
import org.junit.runner.Result;
@@ -14,10 +12,11 @@ public class TestRunner
14
12
public static void main(String[] args)
15
13
{
16
ProductCatalog.createProducts();
17
- Result result = JUnitCore.runClasses(CoffeShopTestSuite.class);
+ Result result = JUnitCore.runClasses(CoffeeShopTestSuite.class);
18
for(Failure failure : result.getFailures())
19
20
System.out.println(failure.toString());
21
}
+ System.out.println(result.wasSuccessful());
22
23
0 commit comments