Details
-
Type:
Improvement
-
Status: Development in progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.10
-
Fix Version/s: None
-
Component/s: Automated functional tests (behat)
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE
-
Pull from Repository:
-
Pull Master Branch:MDL-69075-master
-
Pull Master Diff URL:
-
Sprint:International 4.0 - Sprint 1
Description
At the moment we print out some information when a failure occurs, but not very much.
If $CFG->behat_pause_on_fail is set then we pause the test and print out a bit more information, but we don't actually print out the full detail until the very end of the test.
There are often times where it is helpful to have more information while a test is running, in particular when a job is running on CI if a test fails then the only ways to find out what has failed are:
a) wait until the end and see it printed out; or
b) click on workspaces, navigate to the node -> directory structure, find the pretty.txt file and find the fail in there, or find the screenshot and work out what went wrong.
It should be very easy to print out a bit more useful information as we run.