Extension:MWUnit/Debugging tests

When a test is run, the actual output that test generates is not visible. It is only visible whether or not the test passed or failed. This makes tests hard to debug.

Suppose the Loops extension is used to iteratively run an assertion a hundred times:



The test succeeds, but from the raw testcase it is not entirely clear why the test succeeded. It may very well be possible the  parser function just always returns "-1". To check whether the testcase is written properly, the parser function  can be used:



Now the following will be appended to the test result:

The test outputted the following:

string(2) "10"