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 !

Starting with version 1.2, FEST-Assert supports custom error messages, replacing the default ones.

For example, the following assertion:

will fail with the following default message:

expected:<'[Yoda]'> but was:<'[Luke]'>

By using the method overridingErrorMessage(String) we can provide our own error message. From the previous example:

will fail with the message:

'Luke' is not 'Yoda'
  • No labels