JBehave
  1. JBehave
  2. JBEHAVE-101

StoryRunner methods should use BehaviourListener instead of OutputStream

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      StoryRunner methods should not be coupled to OutputStreams. Use BehaviourListener instead.

      The methods using OutputStream should be deprecated in favour of BehaviourListener, with PlainTextScenarioListener as the default impl.

      Refactor requires two methods to be added to BehaviourListener interface:

      void printReport();
      boolean hasBehaviourFailures();

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        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: