Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 06/Nov/12 9:28 PM
Description:

As part of my usage of JBehave I need to control where the reports are being written. Unless I missed an obvious API the code I currently use (see code below) is particularly verbose (=and not easy to figure out)=. I think it would be great is there was something on the MostUsefulConfiguration object (or other object) to let the user set the output folder or any other simpler way.

.useStoryReporterBuilder(
new StoryReporterBuilder() {
protected org.jbehave.core.reporters.FilePrintStreamFactory filePrintStreamFactory(String storyPath) {
return new FilePrintStreamFactory(new StoryLocation(codeLocation(), storyPath), fileConfiguration("")) {
public File outputDirectory() { return new File("c:/dev/tmp/behave"); };
};
};

Project: JBehave
Priority: Major Major
Reporter: Pascal Rapicault
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to