FEST Assertions Module has moved to Github !
Check this page :https://github.com/alexruiz/fest-assert-2.x/wiki
The documentation below is for Fest 1.x which is no more maintained, we are focusing our effort to the 2.x version !
FEST-Assert is a Java library that provides a fluent interface for writing assertions. Its main goal is to improve test code readability and make maintenance of tests easier.
Currently, this module provides assertions for the following data types:
- Primitives (
- Arrays of
- Arrays of primitives
We have written a migration guide to easily replace JUnit assertions with Fest assertions. Note that FEST & JUnit assertions can coexist together, you don't have to migrate all in one time.
Some simple example to start.
Custom Error Messages
Comparing to Hamcrest
Migration from JUnit