-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.6, 2.7.3, 2.8, 2.9
-
MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
wip-mdl-48190-m
-
- Delete vendor directory
- Delete composer.lock
- php admin/tool/behat/cli/init.php
- Run behat with --dry-run --format=pretty
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
- blocks
-
MDL-48356 moodle_progress behat formatter fails with --dry-run
-
- Closed
-