The possibility to register test listeners to PHPUnit makes it extremly easy to execute actions on a certain state of the test runner (e.g. when the test is started).     WSUnit make highly use of this possibility and listens to some of the emmited signals.