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

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

XMLWordPrintable

      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

            rajeshtaneja Rajesh Taneja
            stronk7 Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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