JBehave
  1. JBehave
  2. JBEHAVE-72

Scenarios do not tidy up after themselves if an outcome is not verified correctly.

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      When I run Hellbound and an outcome isn't as expected (eg: I haven't written the bit which turns a glyph into the junk at the bottom after it falls) then a verification exception is thrown. This means that the scenario is never tidied up, which leaves the Swing frame, and queue threads, still running.

      We should always tidy up after ourselves.

        Activity

        Elizabeth Keogh made changes -
        Field Original Value New Value
        Assignee Elizabeth Keogh [ sirenian ]
        Hide
        Elizabeth Keogh added a comment -

        Wrapped the tidyUp in a finally clause.

        Show
        Elizabeth Keogh added a comment - Wrapped the tidyUp in a finally clause.
        Elizabeth Keogh made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Elizabeth Keogh
            Reporter:
            Elizabeth Keogh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: