Skip to content

Instantly share code, notes, and snippets.

@ssirowy
Created December 9, 2015 22:15
Show Gist options
  • Save ssirowy/eda26d2b29d113512fa1 to your computer and use it in GitHub Desktop.
Save ssirowy/eda26d2b29d113512fa1 to your computer and use it in GitHub Desktop.
/*
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