Skip to content
This repository

FEST Fluent Assertions 2.x

Merge branch 'master' of https://github.com/alexruiz/fest-assert-2.x.git

Conflicts:
	src/test/java/org/fest/assertions/api/LongAssert_TestSuite.java
	src/test/java/org/fest/assertions/api/LongAssert_isEqualTo_long_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isEqualTo_long_wrapper_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isGreaterThan_long_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isGreaterThan_long_wrapper_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNotEqualTo_long_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNotGreaterThan_long_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNotLessThan_long_wrapper_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNotLessThan_short_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNotNull_Test.java
	src/test/java/org/fest/assertions/api/LongAssert_isNull_Test.java
	src/test/java/org/fest/assertions/api/ShortAssert_isLessThan_ObjectShort_Test.java
	src/test/java/org/fest/assertions/api/ShortAssert_isLessThan_short_wrapper_Test.java
	src/test/java/org/fest/assertions/api/ShortAssert_isNotGreaterThan_ObjectShort_Test.java
	src/test/java/org/fest/assertions/api/ShortAssert_isNotGreaterThan_short_wrapper_Test.java
	src/test/java/org/fest/assertions/api/ShortAssert_isNotNull_Test.java
	src/test/java/org/fest/assertions/groups/Properties_extractProperty_Test.java
	src/test/java/org/fest/assertions/groups/Properties_from_with_Collection_Test.java
	src/test/java/org/fest/assertions/groups/Properties_from_with_array_Test.java
latest commit bff5925af0
Yvonne Wang wanghy authored
Octocat-spinner-32 src Merge branch 'master' of https://github.com/alexruiz/fest-assert-2.x.git June 25, 2013
Octocat-spinner-32 .gitignore update with changes from upstream August 11, 2012
Octocat-spinner-32 LICENSE.txt Initial import of FEST-Assert 2.0. September 06, 2010
Octocat-spinner-32 README.md Add link to fest-examples project and Sonar reports January 24, 2013
Octocat-spinner-32 notExist.txt Refactoring. May 08, 2013
Octocat-spinner-32 pom.xml Removed Properties.java and PropertySupport.java and related tests. June 25, 2013
Octocat-spinner-32 release-notes.txt update release notes for 2.0M8 release September 22, 2012
README.md

FEST-Assert provides a fluent interface for assertions.

Example:

int removed = employees.removeFired();
assertThat(removed).isZero();

List<Employee> newEmployees = employees.hired(TODAY);
assertThat(newEmployees).hasSize(6)
                        .contains(frodo, sam);

assertThat(yoda).isInstanceOf(Jedi.class)
                .isEqualTo(foundJedi)
                .isNotEqualTo(foundSith);

The 2.x branch is an attempt to learn from mistakes made in the the 1.x release, in terms of readability and extensibility.

FEST's assertions are incredibly easy to write: just type assertThat followed the actual value and a dot, and any Java IDE will show you all the assertions available for the type of the object to verify. No more confusion about the order of the "expected" and "actual" values. Our assertions are very readable as well: they read very close to plain English, making it easier for non-technical people to read test code.

FEST provides also separate modules for :

For more details please visit :

Many thanks to Cloudbees for their FOSS program that allows FEST to have a Jenkins CI server and Sonar for code quality report.

cloudbees

Something went wrong with that request. Please try again.