Wiki
Clone wikijunit-extension / Home
How to use
- Extend ClassRunListener to implement your functionality
- Create test and add @RunWith(JunitListenerRunner.class) and @Listenres(MyListener.class) annotations to it. Test example
- Run the test.
If you have a lot of test which uses the same ClassRunListenres you may need to extend JunitListenerRunner and add listeners to the classRunNotifier. example
If you have any problem with the extension or you have some notice how to improve, please create an issue.
Updated