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

Behat rerun - skipping passing tests

    XMLWordPrintable

Details

    • MOODLE_31_STABLE
    • wip-mdl-55853
    • Hide
      1. Run behat
      2. check /tmp/behat_passed_cache and ensure there is no file there
      3. run behat with --skip-passed
      4. after the run finishes check /tmp/behat_passed_cache and ensure there is xxx.passed file and contains list of features which were executed.
      5. run behat again with --skip-passed
      6. No feature should be executed and you should get "No specification found exception"
      7. Delete /tmp/behat_passed_cache directory
      8. run behat again with --skip-passed and it should execute all steps.
      9. kill process (ctrl+c) and ensure the file gets created under /tmp/behat_passed_cache
      Show
      Run behat check /tmp/behat_passed_cache and ensure there is no file there run behat with --skip-passed after the run finishes check /tmp/behat_passed_cache and ensure there is xxx.passed file and contains list of features which were executed. run behat again with --skip-passed No feature should be executed and you should get "No specification found exception" Delete /tmp/behat_passed_cache directory run behat again with --skip-passed and it should execute all steps. kill process (ctrl+c) and ensure the file gets created under /tmp/behat_passed_cache

    Description

      I am testing behat against the new theme - which means there are a large amount of failures spread throughout the behat tests. The way I would like to work is to run behat with --stop-on-failure - fix the fails incrementally as I find them - and then re-run behat with a magic flag to say "skip everything that we know is already passing".

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              damyon Damyon Wiese
              Adrian Greeve Adrian Greeve
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.