A Java library that provides a fluent interface for writing assertions.
Version: 1.2FEST-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.
Operating System: Linux
This project requires Java SE 5.0 or later and can be used with either JUnit or TestNG.
Currently, this module provides assertions for the following data types:
- Primitives (boolean, int, char, etc.)
- Arrays of Object
- Arrays of primitives
int removed = employees.removeFired();
List newEmployees = employees.hired(TODAY);
String newHires = employees.newHiresNames();
assertThat(newHires).containsOnly("Gandalf", "Arwen", "Gimli");