Recent releases of JUnit afford test–driven developers lots of flexibility in how their tests are run and expressed.
We will discuss:
- assertThat() and writing Matchers
- Custom JUnit test runners including Suite, Parameterized, and Categories
- How JUnit Rules influence how tests are run without resorting to
superclass fixtures, and demonstrate some Rules on actual tests
- Theories and Assumptions
The presentation and example code are