junit4
junit4 copied to clipboard
Use EventCollector if possible.
trafficstars
Avoids duplicate implementations of RunListener for different test and provides Hamcrest matchers for verifying events sent to the listener.
Very nice. I do think some of the test support code could use some tests. Don't go crazy; "test until fear turns to boredom" :-)
Were you going to add tests for some of the non-trivial code in the testsupport package?
Yes. I already started.
@stefanbirkner LGTM! Do you want to take another look before we merge it?
Needs squashing, though.