- /**
- * This method is called from ModelledSTSSuite (ParentRunner) with the same
- * CommandSession
- *
- * @param session
- */
- public void run(CommandSession session) {
- try (BufferedReader reader = new BufferedReader(new StringReader(test.getCode()))) {
- SCLReportingHandler handler = (SCLReportingHandler) SCLContext.getCurrent().get(SCLReportingHandler.REPORTING_HANDLER);
- new TestScriptExecutor(session, reader, handler, true).execute();
- STSSuiteTestCollector.setTestCoverage(test, session);
- } catch (Exception e) {
- throw new RuntimeException(e);
- }