Thursday, September 20, 2007

New unit tests listeners

If you create a new unit test listener, you have to add a new element to the SysTestListeners enum to be able to select it from the parameters form.

Please note two facts about this enum element:
  1. The name must be the same as the listener class.
  2. The enum value must be the next consecutive number.

If this is not fullfilled, the framework fails to match the enum with the listener class.