JBehave
  1. JBehave
  2. JBEHAVE-239

Add @BeforeStory and @AfterStory annotations in candidate steps

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      As requested on user list, there are usecases when setup/tear down steps are required at story level (i.e. for multiple scenarios) and not at single scenario level (dealt by @BeforeScenario/@AfterScenario annotations).

      Equivalent story-level annotations @BeforeStory/@AfterStory would address these usecases.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Mauro Talevi made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Mauro Talevi made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        Mauro Talevi added a comment -

        Added uponEmbedded=[true|false] attribute to @Before/@AfterStory annotations.

        Show
        Mauro Talevi added a comment - Added uponEmbedded= [true|false] attribute to @Before/@AfterStory annotations.
        Mauro Talevi made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: