private void notifyOfStepFailure(final Method method, final Object[] args, final Throwable cause) throws Exception { ExecutedStepDescription description = ExecutedStepDescription.of(testStepClass, getTestNameFrom(method, args)); StepFailure failure = new StepFailure(description, cause); StepEventBus.getEventBus().stepFailed(failure); }
private void notifySkippedStepStarted(final Method method, final Object[] args) { ExecutedStepDescription description = ExecutedStepDescription.of(testStepClass, getTestNameFrom(method, args)); StepEventBus.getEventBus().skippedStepStarted(description); }