JBehave
  1. JBehave
  2. JBEHAVE-588

FailingUponPendingSteps only works for normal steps, it does not do as it suggests for composite steps

    Details

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

      Description

      Whereas as mismatching (regex) step text causes PENDING (as expected), then subsequent job failure for regular given, when or then steps, this the case for composite steps. E.g. the following ...

       
        @Given ("This matches just fine")
        @Composite(steps = ["This matches nothing", "Perhaps this matches, perhaps it does not"])
        public void unimportantMethodName() { }
      

      ... does not cause ultimate build failure.

      Moreover, the step executer continues to the next step rather than marks that as NOT PERFORMED as expected. Perhaps the two are related.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 3.x [ 16979 ]
        Affects Version/s 3.4 [ 17278 ]
        Affects Version/s 3.5 [ 17393 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.5 [ 17393 ]
        Fix Version/s 3.x [ 16979 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: