* this testcase uses the file failure.py contained in the same directory as
* this testcase
*/
@Test
public void testRunFailingTestCase() throws Exception {
RuntimeStub runtime = new RuntimeStub();
runtime.scriptsFail = true;
MarathonTestCase t = new MarathonTestCase(new File("./failure.py"), runtime);
TestResult result = t.run();
assertEquals("test case should have failed", false, result.wasSuccessful());
assertEquals("each failing testcase should have one failure, and no errors", 1, result.failureCount());