/** * Runs one soapUI TestCase * * @param testCase single TestCase */ protected void run(TestCase testCase) { testCase.addTestRunListener(listener); TestRunner runner = testCase.run(new PropertiesMap(), false); assertThat(runner.getStatus()) .describedAs( "TestCase [" + testCase.getLabel() + "] failed because of [" + runner.getReason() + "]") .isEqualTo(TestRunner.Status.FINISHED); }
@Override public void testCaseAdded(final TestCase testCase) { Utils.log("Adding TestCase \"" + testCase.getLabel() + "\" to model"); getBridge(testCase).addTestCasePrxy(testCase); }