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

rerun executes all failed features with all suites and doesn't respect suite in which it is defined.

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Initialise behat
      2. Modify badges/tests/behat/award_badge.feature and make some step fail.
      3. delete all files in /tmp/behat_rerun_cache
      4. run behat with badges/tests/behat/award_badge.feature
      5. check /tmp/behat_rerun_cache and there should be only 1 failing scenario.
      6. run behat with above feature and --rerun option
      7. Ensure it only runs with core theme.
      8. Initialize behat --run-with-theme
      9. Run behat again with above feature
      10. run behat with above feature and --rerun option
      11. Ensure it runs with core and more theme.

      TEST MDL-55853

      1. Run composer install on php56 and php70
      Show
      Initialise behat Modify badges/tests/behat/award_badge.feature and make some step fail. delete all files in /tmp/behat_rerun_cache run behat with badges/tests/behat/award_badge.feature check /tmp/behat_rerun_cache and there should be only 1 failing scenario. run behat with above feature and --rerun option Ensure it only runs with core theme. Initialize behat --run-with-theme Run behat again with above feature run behat with above feature and --rerun option Ensure it runs with core and more theme. TEST MDL-55853 Run composer install on php56 and php70
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Link:
    • Pull Master Branch:
      wip-mdl-55769

      Description

      Rerun executes all failed features with all suite theme. This is bug in behat
      https://github.com/Behat/Behat/issues/932

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16