-
New Feature
-
Resolution: Fixed
-
Minor
-
2.7.3, 2.8.1, 2.9
-
MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
Reading here and there about behat and its internals I found the --rerun feature really interesting to keep apart random failures and also as a potential way to split/dispatch behat runs over multiple testing instances.
But there is a missing piece in order to be able to use it properly and it is that we need to be able to build such "rerun" files easily, so they can be used later.
Digging into behat, it seems that the best way to achieve that properly is to create a new formatter (behat already uses that internally for "rerun") and combine it with --dry-run, so we can get the "rerun" file ready for any use.
So this issue aims to:
1) Create a new formatter, available via moodle-behat-extension.
2) Make moodle aware of it, so can be used easily.
Note: I'm only providing master (2.9) patches for this new formatter, but I'd vote to backport it to all supported versions coz it's 100% isolated and can bring us interesting possibilities to be applied @ nightly and CIs.
- is blocked by
-
MDL-48356 moodle_progress behat formatter fails with --dry-run
- Closed