JBehave

Undoable steps

Details

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

Description

Sometimes when we set up a context or cause an event to happen, it's nice to clean up any changes so that we don't affect other tests running.

No idea how to make the undoable work, but doesn't stop me wanting it!

Activity

Hide
Mauro Talevi added a comment -

It strikes me that one may want a "undoing" after a scenario - but not during the execution of the same scenario.
In this case the @AfterScenario proposed in JBEHAVE-129 seems the way to go.

Show
Mauro Talevi added a comment - It strikes me that one may want a "undoing" after a scenario - but not during the execution of the same scenario. In this case the @AfterScenario proposed in JBEHAVE-129 seems the way to go.
Hide
Mauro Talevi added a comment -

Resolving as duplicate of JBEHAVE-129, until someone comes up with a more elaborate use case.

Show
Mauro Talevi added a comment - Resolving as duplicate of JBEHAVE-129, until someone comes up with a more elaborate use case.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: