Projects / FEST-Assert

FEST-Assert

FEST-Assert is an "assertThat" library that provides a fluent interface for writing assertions in Java. Its main goal is to improve test code readability and make maintenance of tests easier. It can be used with JUnit or TestNG.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  04 Nov 2009 18:39

    Release Notes: This release adds support for custom error messages. It has better debugging through ComparisonFailure (if JUnit is in the classpath.) Exposed internals are useful when extending with custom assertions or conditions. The aliases "is" and "isNot", similar to the current "satisfies" and "doesNotSatisfy", have been added. There are some bugfixes.

    •  20 Apr 2009 21:52

      Release Notes: This release adds ListAssert. It adds the method 'isEqualTo(double [] expected, double delta)' to DoubleArrayAssert. Deep equals for ObjectArrayAssert. Made Assert and hierarchy are public-visible to enable better custom extensions. A threshold has been added to ImageAssert to make comparisons for equality more "forgiving".

      •  19 Dec 2008 08:53

        Release Notes: Lazy-loaded descriptions were added. Additional root elements in the fluent interface for the assertions were removed.

        •  18 Feb 2008 19:02

          Release Notes: This release adds support for BigDecimal. It adds more assertion methods for Arrays, Collections, Strings, Files, and Throwables. Bugs and inconsistencies in exception messages have been fixed. The number of tests has been increased from 540 to 1523, with code coverage of 99.7%.

          •  31 Jan 2008 01:27

            Release Notes: This release adds support for java.util.Map and java.util.Iterator. It adds more assertion methods related to Strings, Object arrays, primitives, Files, Collections, and Throwables.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.