When I ran stories with a single thread (serial), the story duration in reports
looked correct. The duration time is in minutes as expected. See the attached
report (single-thread-reports.png). However, when stories are executed with
multiple threads (currently), the story duration is not calculated correctly
(See Multiple-Thread-Reports.png). The duration time is in in sub-seconds and
is not what expected. I'm using JBehave 3.9.2 and thought this problem could be
related to https://jira.codehaus.org/browse/JBEHAVE-1041 but upgrading to the
latest JBehave 3.9.5 does not seem to help with this problem.
Here is the code fragment for building story report.
.useStoryReporterBuilder(new StoryReporterBuilder()
.withDefaultFormats()
.withFormats(CONSOLE, TXT, HTML_WEB)
.withFailureTrace(true)
.withFailureTraceCompression(false)
.withViewResources(viewResources)
.withCrossReference(xref)
);
Does anyone have an idea what's could be the problem here?
Thanks in advance,
Phong
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email