Created
December 9, 2015 22:15
-
-
Save ssirowy/eda26d2b29d113512fa1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Here is our code that creates their Unit test, and then calls their `passed`. Its in here | |
we need a mechanism for providing their function a way to record a string that we can then record in our DB. | |
*/ | |
public class zyMainUnitTestRunner { | |
public static void main(String [] args) { | |
zyLabsUnitTest test = null; | |
try { | |
test = new zyLabsUnitTest(); | |
} | |
catch (Exception e) { | |
System.out.println("Couldnt find class"); | |
System.exit(0); | |
} | |
if (test.passed()) { | |
System.exit(0); | |
} else { | |
System.exit(1); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment