public class UnitilsConsoleOutput
extends org.jbehave.core.reporters.ConsoleOutput
| Constructor and Description |
|---|
UnitilsConsoleOutput(org.jbehave.core.configuration.Keywords keywords) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createStackTrace(Throwable throwable)
This method creates a stacktrace from a
Throwable. |
void |
failed(String step,
Throwable storyFailure)
Print the reason why the step has failed.
|
protected org.jbehave.core.configuration.Keywords |
getKeywords()
Getter for the field keywords.
|
afterExamples, afterScenario, afterStory, beforeExamples, beforeScenario, beforeStep, beforeStory, compressFailureTrace, doCompressFailureTrace, doReportFailureTrace, dryRun, escape, example, failedOutcomes, format, formatTable, givenStories, givenStories, ignorable, lifecyle, lookupPattern, narrative, notPerformed, overwritePattern, pending, pendingMethods, print, reportFailureTrace, restarted, scenarioMeta, scenarioNotAllowed, storyCancelled, storyNotAllowed, successful, toStringpublic UnitilsConsoleOutput(org.jbehave.core.configuration.Keywords keywords)
keywords - ; the keywords defined in JBehave.public void failed(String step, Throwable storyFailure)
failed in interface org.jbehave.core.reporters.StoryReporterfailed in class org.jbehave.core.reporters.PrintStreamOutputstep - : the name of the stepstoryFailure - : the throwable that is thrown by the step.PrintStreamOutput.failed(java.lang.String, java.lang.Throwable)protected String createStackTrace(Throwable throwable)
Throwable.throwable - : the throwable of the failed stepStringprotected org.jbehave.core.configuration.Keywords getKeywords()
KeywordsCopyright © 2015. All Rights Reserved.