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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: