Details
Description
This has been discussed in dev list:
http://lists.terracotta.org/pipermail/quartz-dev/2011-July/000035.html
So I will create a task to track it.
1) Upgrade junit to version 4.8.2 in project pom.xml
JUnit4 supports annotation and simplify unit testing.
I think junit4 is backward compatible, so existing tests should still able to run without harm.
2) Add hamcrest as test library to project pom.xml.
This allow a simple and uniform "assertThat(expected, Matchers.xxx(actual))" through all unit tests.
sample:
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
I have asked feedback here: http://lists.terracotta.org/pipermail/quartz-dev/2011-September/000123.html
no reply yet.
If no one objects, I can try to make the change.