Well then the best way to write a custom StoryReporter and collect the
information as they are executed.

On 29/06/2011 18:31, Paul Hammant wrote:
> Lance is concerned with result correlation, not invocation I think.
>  JUnit must have a way of collecting results for presentation, that
> (amongst others) IDEA and Eclipse pick up on and display.
>
> - Paul
>
> On Wed, Jun 29, 2011 at 11:29 AM, Mauro Talevi
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hi,
>
>     that is not possible at the moment. The StoryRunner only allows
>     running of stories, not of single scenarios.  But there are many
>     ways to control the runner behaviour, and different ways to embed
>     the runner.
>
>     Why don't you raise a jira issue describing the behaviour you'd
>     like to see and we can see how best to accomodate your requirement?
>
>     Cheers
>
>
>     On 29/06/2011 17:08, [email protected]
>     <mailto:[email protected]> wrote:
>>
>>     Hi,
>>     After discussion on the list I am going to implement my own JUnit
>>     test runner which runs each example within a scenario one at time.
>>
>>     Can anyone provide me with some sample code which will run a
>>     single example within a scenario?
>>     Or, can you lead me towards the source code which actually runs
>>     the scenarios?
>>
>>     I can see Story.getScenarios().get(0).getExamplesTable()
>>     And I can see ExamplesTable.getRow(int row)
>>
>>     I would just like the final piece of the puzzle which passes the
>>     row (Map<String,String>) to the scenario and gets a result.
>>
>>     Thanks,
>>     Lance.
>>
>>
>>     ---------------------------------------------------------------------
>>     To unsubscribe from this list, please visit:
>>
>>         http://xircles.codehaus.org/manage_email
>
>

Reply via email to