Errors preceded by an expectError() are not shown when the test is run through a browser, but they are shown when the test is run from command line.
CLI output of attached test is :
trigger_error.test.php
E_USER_NOTICE: Error triggered in
/usr/local/www/noparking/opentime/trigger_error.test.php on line 7
OK
Test cases run: 1/1, Passes: 1, Failures: 0, Exceptions: 0
While HTML output is only :
trigger_error.test.php
1/1 test cases complete: 1 passes, 0 fails and 0 exceptions.
Example of different behaviour between text and HTML output