资 源 简 介
FUTURE DEV NOW MOVED TO: https://github.com/daviddenton/niceassert
The Niceassert library defines a few useful Java tools designed to aid test readability by reducing the code overhead of various common testing patterns. It works well alongside existing widely-used testing frameworks (especially JUnit4/JMock2 with which it shares support library requirements).
Features:
Expectations - a concise way to express expected behaviour of a method call
Overriding - partially mock the behaviour of an object
Matchers - a collection of various useful Hamcrest Matchers