JBehave
  1. JBehave
  2. JBEHAVE-668

Allow pluggable Embedder failure handling strategies

    Details

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

      Description

      The Embedder currently throws a RunningStoriesFailed exception when stories fail.

      As requested by Steve Cresswell, It'd be useful to introduce an EmbedderFailureStrategy interface with default implementation which throws a RunningStoriesFailed exception, but which can be overridden by users to provide alternative pluggable behaviour of failure handling.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Mauro Talevi made changes -
        Description The Embedder currently throws a RunningStoriesFailed exception when stories fail.

        As requested by Steve Cresswell, It'd be useful to introduce an EmbedderFailureStrategy interface with default re-throwing impl, which can be overridden by users to provide alternative pluggable behaviour of failure handling.

        The Embedder currently throws a RunningStoriesFailed exception when stories fail.

        As requested by Steve Cresswell, It'd be useful to introduce an EmbedderFailureStrategy interface with default implementation which throws a RunningStoriesFailed exception, but which can be overridden by users to provide alternative pluggable behaviour of failure handling.

        Mauro Talevi made changes -
        Status In Progress [ 3 ] 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: