[ 
http://jira.codehaus.org/browse/JBEHAVE-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262949#action_262949
 ] 

Yuriy Mann commented on JBEHAVE-441:
------------------------------------

I confirm that @BeforeScenario was called before every example in 3.1. Which 
seems to be natural: each example is just an instance of a scenario with 
specific parameters. It also makes the code written for 3.1 incompatible with 
3.3. 

In 3.3, to perform a test setup before each example we now need to invent 
"artificial" steps which have no meaning for a business person working with the 
same BDD tests. 

> @BeforeScenario not called one per 'Examples' permutation.
> ----------------------------------------------------------
>
>                 Key: JBEHAVE-441
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-441
>             Project: JBehave
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.2
>            Reporter: Paul Hammant
>            Priority: Minor
>         Attachments: bug.zip
>
>
> Could @BeforeScenario be enhanced:
>     @BeforeScenario(BEFORE_EXAMPLES_PERMUTATIONS_TOO)
> or could we have a new annotation:
>     @BeforeExamples
> There is some feeling that this used to work in JB 3.0.  Refer bug.zip 
> attached
> - Paul on behalf of Bill

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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