Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54100

undefined steps are not recognized by Moodle Behat Extension 3.31.1

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In blocks/html/tests/behat/course_block.feature modify the steps and "And I set the field" to day "And I change the field"
      2. Run behat with above feature
      3. Make sure you see one undefined feature and 2 undefined steps in the output (like this):

        6 scenarios (5 passed, 1 undefined)
        88 steps (75 passed, 2 undefined, 11 skipped)
        

      Show
      In blocks/html/tests/behat/course_block.feature modify the steps and "And I set the field" to day "And I change the field" Run behat with above feature Make sure you see one undefined feature and 2 undefined steps in the output (like this): 6 scenarios (5 passed, 1 undefined) 88 steps (75 passed, 2 undefined, 11 skipped)
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      wip-mdl-54100

      Description

      While reviewing MDL-54004, it is observed that undefined steps are not recognized by moodle-behat-extension 3.31.1

      Steps to reproduce:

      1. Modify any feature file with a step which is not defined.
      2. Run behat and it will pass/fail without pointing that step is undefined.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshtaneja Rajesh Taneja
                Reporter:
                rajeshtaneja Rajesh Taneja
                Peer reviewer:
                Damyon Wiese
                Integrator:
                David Monllaó
                Tester:
                Ryan Wyllie
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16