Skip to content
ansgarkonermann edited this page May 26, 2012 · 63 revisions

Fest Assertions 2.0 documentation

/images/fest-header-image-black-text.png

Fest Assertions 2.0 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.

Fest Assertions requires Java SE 5.0 or later and can be used with either JUnit or TestNG.

Latest news

2012-05-20 : FEST 2.0M4 release
2012-05-08 : FEST 2.0M3 release
2012-04-19 : FEST 2.0M2 release
2012-04-14 : FEST 2.0M1 release

See New and noteworthy in Fest Assertions 2.0 for details or directly release-notes.txt

Getting started

Quick start : just have a look at our One minute starting guide !

Fest install : you can unzip the archive or use maven, see the install guide.

Replace JUnit assertions by Fest assertions : we have a guide to easily convert JUnit assertions to Fest assertions, check this page.

If you were already using Fest 1.4, have a look at our migration guide, it describes the breaking changes, but don't worry it should be easy to migrate.

Working with Fest Assertions 2.0

  1. New and noteworthy in Fest Assertions 2.0
  2. Using Fest Assertions
  3. Extending Fest Assertions
    1. Using custom conditions
    2. Creating your own specific assertion
  4. Tips and tricks
  5. Learn by examples

Contributing to Fest Assertions 2.0

You are very welcome to contribute, we really want to offer the richer and easy to use assertions API, so ideas from our users are very appreciated.

Contributing is easy and we try to help people contributing, have a look at the contributor guidelines !

Migration Guides

v3.25 → v4.0

Clone this wiki locally