Hi
can you provide an example project with your configuration that
reproduces this behaviour?
Cheers
On 10/11/2014 18:30, Simon Kent wrote:
Hi
We were testing out an upgrade to JBehave 3.9.5 and noticed that our
story reports only showed the duration of the last story run (we run
all tests in one class).
On examination it looks like the write method in StoryManager always
created a new durations file (see extract below). This is presumably
the change for JBEHAVE-1041.
In previous versions (we were using 3.7.5) the report correctly showed
the durations for all the stories.
[pastedImage.png]
private void write(Properties p, String name) {
File outputDirectory =
configuration.storyReporterBuilder().outputDirectory();
try {
Writer output = new FileWriter(new File(outputDirectory,
name));
p.store(output, this.getClass().getName());
output.close();
} catch (IOException e) {
e.printStackTrace();
}
}
Simon Kent
*QA Manager*
T: 01454 802431
E: sk...@gresham-computing.com
Privileged or confidential information may be contained in this
message. If you are not the addressee of this message please notify
the sender by return and thereafter delete the message, and you may
not use, copy, disclose or rely on the information contained in it.
Internet e-mail may be susceptible to data corruption, interception
and unauthorised amendment for which Gresham does not accept
liability. Whilst we have taken reasonable precautions to ensure that
this e-mail and any attachments have been swept for viruses, Gresham
does not accept liability for any damage sustained as a result of
viruses. Statements in this message that do not relate to the business
of Gresham are neither given nor endorsed by the company or its
directors. Gresham Computing plc Registered in England and Wales.
Company No. 01072032 Registered Office: Aldermary House, 10-15 Queen
Street, London, EC4N 1TX. Further information about Gresham Computing
can be found on our website: www.gresham-computing.com