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

Behat --dry-run executions stop after a few scenarios

    XMLWordPrintable

    Details

      Description

      Was working on a custom formatter, to get all the scenarios & scenario outlines in a file for later splitting it into chunks/dispatching it to different behat runners.

      Surprisingly when I ran it (using --dry-run)... it stopped after a few scenarios instead of showing all them.

      More surprisingly, exactly the same happens if you use the pretty formatter or the progress one. And the moodle_progress one simply does not work (there is a missing library somewhere, but that's another issue).

      So just execute your usual behat command adding these switches:

      --dry-run --format=progress (or pretty or moodle_list if you install it)
      

      And you'll see that it stops after some (38-39) scenarios. Expected result would be to get all current Scenarios and Outlines instead.

      So, at some point, the --dry-run is dying/stopping silently.

      Ciao :-9

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rajeshtaneja Rajesh Taneja
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Peer reviewer:
              David Monllaó
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Jan/15