[ 
https://jira.codehaus.org/browse/JBEHAVE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272004#comment-272004
 ] 

Mauro Talevi commented on JBEHAVE-550:
--------------------------------------

The StoryReporterBuilder provides the method withFormats(Formats...) for this 
purpose.  The Format implementation allows you to create your instance of 
StoryReporter.

> StoryReporterBuilder does not have an easy way to provide custom 
> StoryReporter(s)
> ---------------------------------------------------------------------------------
>
>                 Key: JBEHAVE-550
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-550
>             Project: JBehave
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.4.5
>            Reporter: Lance
>            Priority: Minor
>
> I recently wanted to add my own StoryReporter to every story and found it 
> quite difficult.
> It would be great if StoryReporterBuilder could have one of the following 
> methods added
> withStoryReporters(StoryReporter... storyReporters)
> addStoryReporter(StoryReporter storyReporter)
> The only way I could find was to override StoryReporterBuilder.build(String 
> storyPath) and use a DelegatingStoryReporter to include my custom 
> storyReporter(s).

--
This message is automatically generated by JIRA.
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