Skip to end of metadata
Go to start of metadata

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 !

....

If JUnit 4 (or greater) is in the classpath, failures of

will throw ComparisonFailure instead of the default AssertionError.

This feature can be useful when using tools that have special support for this exception. For example, Eclipse provides a nice GUI that shows the differences between the expected and actual String values: