@Override public void run(RunNotifier notifier) { super.run(notifier); jUnitReporter.done(); jUnitReporter.close(); runtime.printSummary(); }
@Override public void run(RunNotifier notifier) { super.run(notifier); jUnitReporter.done(); jUnitReporter.close(); runtime.printSummary(); }
public void finish() { Formatter formatter = runtimeOptions.formatter(classLoader); formatter.done(); formatter.close(); runtime.printSummary(); if (!runtime.getSnippets().isEmpty()) { throw new CucumberException("Some steps could not be found"); } }
@Override public void run(RunNotifier notifier) { // notifier.addListener(new SanityChecker()); super.run(notifier); becauseCucumberReporter.done(); becauseCucumberReporter.close(); runtime.printSummary(); // after the execution if (reportInstance != null) { RefelectionUtils.getMethod(reportInstance, METHOD_AFTERRUN, new Object[] {}); } }
@Override public void run(RunNotifier notifier) { // notifier.addListener(new SanityChecker()); super.run(notifier); becauseCucumberReporter.done(); becauseCucumberReporter.close(); runtime.printSummary(); // after the execution if (reportInstance != null) { RefelectionUtils.getMethod(reportInstance, METHOD_AFTERRUN, new Object[] {}); } }
@Override public void run(final RunNotifier notifier) { try { rhinoEngine.runWithContext(rhinoEngine.new RhinoCallable<Void, RuntimeException>() { @Override protected Void doCall(Context cx, Scriptable scope) { doRun(notifier); return null; } }); jUnitReporter.done(); jUnitReporter.close(); runtime.printSummary(); } finally { try { CucumberContext.clear(); if (testContextManager != null) testContextManager.destroy(); } catch (Exception e) { LOGGER.warn("Failed destroying TestContentManager for profiles {}", environment.getActiveProfiles(), e); } } }
@Override public void run(RunNotifier notifier) { try { if (this.runPreDefined) { runPredefinedMethods(BeforeSuite.class); } runPredefinedMethods(BeforeSubSuite.class); } catch (Exception e) { e.printStackTrace(); } super.run(notifier); try { if (this.runPreDefined) { runPredefinedMethods(AfterSuite.class); } runPredefinedMethods(AfterSubSuite.class); } catch (Exception e) { e.printStackTrace(); } runtime.printSummary(); jUnitReporter.done(); jUnitReporter.close(); for (ExtendedRuntimeOptions extendedOption : extendedOptions) { ReportRunner.run(extendedOption); } }