[jbehave-user] How to include stacktrace in test result report?

2014-02-13 Thread Hans Schwäbli
If an exception occurs while a step is being executed, JBehave only prints the type of exception and its message. It does not print the stacktrace, which could contain valuable information to analyse the exception. Can I somehow configure JBehave so that it includes the stacktrace in the test

Re: [jbehave-user] How to include stacktrace in test result report?

2014-02-13 Thread Mauro Talevi
Configuration.storyReporterBuilder().withFailureTrace(true) On 13 Feb 2014, at 13:41, Hans Schwäbli bugs.need.love@gmail.com wrote: If an exception occurs while a step is being executed, JBehave only prints the type of exception and its message. It does not print the stacktrace,

Re: [jbehave-user] How to include stacktrace in test result report?

2014-02-13 Thread Hans Schwäbli
Thank you. 2014-02-13 15:50 GMT+01:00 Mauro Talevi mauro.tal...@aquilonia.org: Configuration.storyReporterBuilder().withFailureTrace(true) On 13 Feb 2014, at 13:41, Hans Schwäbli bugs.need.love@gmail.com wrote: If an exception occurs while a step is being executed, JBehave only

Re: [jbehave-user] JBehave Jenkins plugin

2014-02-13 Thread Alex Filatau
Hi, Per my understanding, Jenkins plugin is used specifically to get Junit style results available for your CI system and, for example, fail (or mark as unstable) a test run results if number of test failures is higher than configurable threshold. But I also use HTML Publisher

Re: [jbehave-user] Scenario Definition with delimited string

2014-02-13 Thread Mauro Talevi
Wrap in quotes: When a client posts a response pattern of '1,0,0,0,0' @When(a client posts a response pattern of '$value') public void whenAClientPostsValue(String value){ } The same applies if you want to have a value with spaces. On 13/02/2014 21:53, Corbin, J.D. wrote: I have a scenario