Hey Chandru,

Sounds like I am trying to do the same thing as you.  I tried the
trader sample and it was able to output to a file in the tmp
directory.  I tried migrating the changes over to my code but it looks
like 3 additional files ( Converter (ie TraderConverter.java) file and
a Persister type file (TraderPersister.java),  and the Scenario
Reporter) are needed per story to output to a file.  I can't use this
method since my team is going to have around 100 stories.  That means
at least 300 additional classes...

Anyone know a better way to output to a file or create a summary
report with maven 2?

Laura

On Thu, Feb 26, 2009 at 11:32 AM, Mauro Talevi
<[email protected]> wrote:
> Chandru Gownden wrote:
>>
>> Hi Mate,
>>
>>
>> Can you give me bit more detail on the Scenario Reporter?
>>
>
> https://svn.codehaus.org/jbehave/trunk/examples/trader/src/main/java/org/jbehave/examples/trader/scenarios/ReportCanBeWrittenToFile.java
>
>>
>> What is Scenario Reporter and how this can be implemented to get the
>> reports published like surefire does?
>>
>
> The ScenarioReporter records the outcomes of the scenario running.
>
>>
>> I assume these Surefire reports are generated when I run mvn site and it
>> gets published when I run mvn publish.
>>
>>
>
> No, ATM ScenarioReporter does not link directly to the site generation.  But
> nothing prevents you from directing the file output to the site directory.
>
> And you can of course you can implement your own ScenarioReporter.
>
> Cheers
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to