| Version | Date | Description |
|---|---|---|
| 1.3 | 2010-08-04 | Subsequent release |
| 1.2 | 2009-11-02 | Subsequent release |
| 1.1 | 2009-04-20 | Subsequent release |
| 1.0 | 2008-12-16 | Subsequent release |
| 1.0a1 | 2008-02-18 | Subsequent release |
| 0.9.1 | 2008-02-04 | Subsequent release |
| 0.9 | 2008-01-30 | Subsequent release |
| 0.8 | 2008-01-03 | Subsequent release |
| 0.7 | 2007-11-08 | Subsequent release |
| 0.6 | 2007-10-15 | Subsequent release |
| 0.5-SNAPSHOT | 2007-09-19 | Subsequent release |
| 0.4 | 2007-09-17 | First public release |
| Type | Changes | By |
|---|---|---|
![]() | All primitive-related assertion classes now extend GenericAssert and take a primitive wrapper as value. Fixes FEST-133. Thanks to Stanislaw Osinski. | konermann |
![]() | Added method "isEqualToIgnoringCase" to StringAssert. Fixes FEST-171. | konermann |
![]() | Added methods "isNull" and "isNotNull" to all assertion classes for primitive values. Fixes FEST-197. | konermann |
![]() | Added method "containsIgnoringCase" to StringAssert. Fixes FEST-252. | wanghy |
![]() | Class BasicDescription is no longer final. Fixes FEST-261. Thanks to Ed Bras. | wanghy |
![]() | Added method "isNotZero" to BigDecimalAssert. Fixes FEST-310. | tedyoung |
![]() | Added support for assertions on extracted values of a given property of collection/array elements. Fixes FEST-324. | jocosti |
![]() | Improved error messages related to unexpected null objects. Fixes FEST-326. | wanghy |
![]() | Added method "doesNotContain" to StringAssert. Fixes FEST-328. | wanghy |
![]() | Fixed implementation of "containsEntry" in MapAssert to verify that a Map contains a given entry. Fixes FEST-329. Thanks to Mark Derricutt. | wanghy |
![]() | Added method "assertThat(Iterable)" to class org.fest.assertions.Assertions. Fixes FEST-334. Thanks to James Ravn. | alexruiz |
![]() | Method "containsOnly" in ListAssert now supports duplicates. Fixes FEST-367. | wanghy |
| Type | Changes | By |
|---|---|---|
![]() | Class Formatting and its methods are now public. Fixes FEST-147. | tedyoung |
![]() | Added method 'isNotEqualByComparingTo' to BigDecimalAssert. Fixes FEST-157. | tedyoung |
![]() | Assertion classes are no longer final. Constructors are now protected, instead of package-protected. Fixes FEST-165. | konermann |
![]() | Class org.fest.assertions.Assertions are no longer final. Constructor is now protected, instead of private. Fixes FEST-166. | konermann |
![]() | Added methods 'is(Condition)' and 'isNot(Condition)' to all assertion classes. These methods are aliases for 'satisfies(Condition)' and 'doesNotSatisfy(Condition)' respectively. Fixes FEST-168. | alexruiz |
![]() | All assertions now throw ComparisonFailure if comparison of two objects fail and JUnit is in the classpath. Fixes FEST-168. | alexruiz |
![]() | ImageAssert no longer uses the constructor IOException(String, Throwable) from JDK 1.6. Fixes FEST-198. | konermann |
![]() | Fixed inconsistency in parameter naming. Fixes FEST-218. | alexruiz |
![]() | Reorganized tests and migrated to JUnit. Fixes FEST-223. | alexruiz |
![]() | Fixed error message displayed when two Strings are not equal and JUnit is in the classpath. Fixes FEST-228. | alexruiz |
![]() | Descriptions of actual values are evaluated only if an assertion fails. Fixes FEST-229. | alexruiz |
![]() | Methods 'satisfies(Condition)' and 'doesNotSatisfy(Condition)' in all assertions now throw NullPointerException instead of IllegalArgumentException if the given condition is null. Fixes FEST-230. | alexruiz |
![]() | Method 'hasSameContentAs(File)' in FileAssert now throws NullPointerException instead of IllegalArgumentException if the given File is null. Fixes FEST-230. | alexruiz |
![]() | Methods 'includes(Entry...)' and 'excludes(Entry...)' in MapAssert now throws NullPointerException instead of IllegalArgumentException if any of the values in the given Entry array is null. Fixes FEST-230. | alexruiz |
![]() | Method 'hasSize(Dimension)' in ImageAssert now throws NullPointerException instead of IllegalArgumentException if the given Dimension is null. Fixes FEST-230. | alexruiz |
![]() | Method 'read(String)' in ImageAssert now throws NullPointerException if the given path is null. Fixes FEST-230. | alexruiz |
![]() | Method 'isInstanceOf(Class)' in ObjectAssert now throws NullPointerException instead of IllegalArgumentException if the given type is null. Fixes FEST-230. | alexruiz |
![]() | Method 'isInstanceOfAny(Class...)' in ObjectAssert now throws NullPointerException instead of IllegalArgumentException if the given array is null. Fixes FEST-230. | alexruiz |
![]() | Method 'isInstanceOfAny(Class...)' in ObjectAssert now throws NullPointerException instead of IllegalArgumentException if the any element in the given array is null. Fixes FEST-230. | alexruiz |
![]() | Method 'contains(Object, Index)' in ListAssert now throws NullPointerException instead of AssertionError if the given Index is null. Fixes FEST-230. | alexruiz |
![]() | Method 'contains(Object, Index)' in ListAssert now throws IndexOutOfBoundsException instead of AssertionError if the value in the given Index is out of bounds. Fixes FEST-230. | alexruiz |
![]() | Added method 'overridingErrorMessage(String)' that allows users to specify custom error messages, replacing the default ones. Fixes FEST-234. | alexruiz |
![]() | When two objects are compared with 'isEqualTo' and the comparison fails, a ComparisonFailure is thrown using the 'toString' implementation of the compared objects. Fixes FEST-242. | alexruiz |
![]() | Deprecated static inner class Delta in FloatAssert. It is replaced by top-level class org.assertions.Delta. Fixes FEST-245. | alexruiz |
![]() | Deprecated method 'value' in class Delta. Replaced with method 'doubleValue'. Fixes FEST-245. | alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Removed method 'size' from GroupAssert. This method should have been removed before releasing 1.0. | alexruiz |
![]() | Added class ListAssert. Fixes FEST-59. Thanks to Konstantin Scheglov, cbraid. | alexruiz |
![]() | Added method 'isEqualTo(double[], Delta)' to DoubleArrayAssert. Fixes FEST-65. Thanks to Stanislaw Osinski. | alexruiz |
![]() | Converted inner class Delta in DoubleArrayAssert to a top-level class. Inner class Delta has been deprecated and it will be removed in v. 2.0. Fixes FEST-65. Thanks to Stanislaw Osinski. | alexruiz |
![]() | Method 'isEqualTo(Object[])' in ObjectArrayAssert now uses java.util.Arrays.deepEquals(Object[], Object[]) to compare two arrays. Fixes FEST-66. Thanks to Juhos Csaba-Zsolt. | alexruiz |
![]() | Added method 'isEqualTo(BufferedImage, Threshold)' which tolerates a certain amount of color differences when comparing two images for equality. Fixes FEST-107. Thanks to Jean-Francois Poilpret. | alexruiz |
![]() | Package-protected classes Assert, GenericAssert and GroupAssert are now public. Fixes FEST-108. Thanks to Jacob Fahrenkrug, Timmo Gierke. | alexruiz |
![]() | Package-protected methods in classes Assert, GenericAssert and GroupAssert are now protected. Fixes FEST-108. Thanks to Jacob Fahrenkrug, Timmo Gierke. | alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Added method 'doesNotHaveDuplicates(Object...)' to ObjectArrayAssert. Fixes 112. Thanks to Ted Young. | wanghy |
![]() | Renamed method 'contains(Entry...)' to 'includes(Entry...)' to MapAssert. | alexruiz |
![]() | Assertions for primitive values can also be created from primitive wrappers. Fixes 114. Thanks to Ted Young. | wanghy, alexruiz |
![]() | Added interface org.fest.assertions.Description. Fixes 227. | alexruiz, wanghy |
![]() | Added methods 'as(Description)' and 'describedAs(Description)' to all assertions. Fixes 227. | alexruiz, wanghy |
![]() | Removed class ThrowableAssert.CauseHierarchyAssert. Fixes 256. | alexruiz |
![]() | Removed methods 'message', 'causeHierarchy' and 'cause' from ThrowableAssert. Fixes 256. | alexruiz |
![]() | Removed method 'size' from FileAssert. Fixes 256. | alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Exceptions thrown by methods 'satisfies' and 'doesNotSatisfy' include the name of Condition class if the Condition's description is not specified. | alexruiz |
![]() | Added method 'doesNotSatisfy' to all assertions. Fixes 46. Thanks to Mark Derricutt. | wanghy, alexruiz |
![]() | Patch: Added support for BigDecimal. Fixes 107. Thanks to Ted Young, David DIDIER. | wanghy, alexruiz |
![]() | Added method 'isEmptyOrNull' to BooleanArrayAssert, ByteAssertArray, CharArrayAssert, CollectionAssert, DoubleArrayAssert, FloatArrayAssert, IntArrayAssert, LongArrayAssert, MapAssert, ShortArrayAssert and StringAssert. | alexruiz, wanghy |
![]() | Added fest-mocks-0.1 and fest-test-0.1 as a 'test' scoped dependencies. | alexruiz, wanghy |
![]() | Added method 'message' to ThrowableAssert. This method returns a StringAssert. | alexruiz |
![]() | Added method 'hasMessage(String)' to ThrowableAssert. | alexruiz |
![]() | Added method 'size' to FileAssert. This method returns a LongAssert. | alexruiz |
![]() | Fixed bug in FileContentComparator where EOF (end of file) was determined at the wrong time. | alexruiz, wanghy |
![]() | Replaced methods 'hasCauseAsAncestor' and 'hasExactCauseAsAncestor' in ThrowableAssert with the methods 'hasCauseOfType' and 'hasCauseOfExactType' in CauseHierarchyAssert. To get a CauseHierarchyAssert, users need to call the method 'causeHierarchy' in ThrowableAssert. | alexruiz |
![]() | Replaced method 'hasCauseOfType' in ThrowableAssert with method 'cause', which returns another ThrowableAssert for the cause of the actual Throwable. Users can call 'isInstanceOf' in the returned ThrowableAssert. | alexruiz |
![]() | Method 'isInstanceOf' in ObjectAssert and ThrowableAssert throws IllegalArgumentException if the given Class is null. | wanghy |
![]() | Method 'isInstanceOfAny' in ObjectAssert throws IllegalArgumentException if the given Class array is null or if any element in the given Class array is null. | wanghy |
![]() | Fixed typos in Javadocs for class PrimitiveFail. Thanks to Ted Young. | alexruiz |
![]() | Removed dependency on Apache Velocity. | alexruiz |
![]() | Removed code generators for assertions for primitive arrays and failure methods for primitives. | alexruiz |
![]() | Added missing declaration of exceptions in Javadocs. | alexruiz, wanghy |
![]() | Eliminated inconsistencies and typos in exception messages. | alexruiz, wanghy |
| Type | Changes | By |
|---|---|---|
![]() | Error messages in ObjectArrayAssert and all the assertion objects dealing with array of primitives where including the description of the assertion object twice. | alexruiz |
![]() | Error messages in ObjectArrayAssert were using quotes around array of Strings. | alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Updated dependency 'fest-util' to version 0.3. | wanghy |
![]() | Improved Javadoc documentation of the methods 'as' and 'describedAs' in all assertion classes. Fixes 103. Thanks to Ted Young. | wanghy |
![]() | Added method 'assertThat(Iterator)' to Assertions. This method returns a CollectionAssert. Fixes 101. Thanks to Ted Young. | wanghy |
![]() | Added methods 'hasAllElementsOfType' and 'hasAtLeastOneElementOfType' to ObjectArrayAssert. Fixes 100. Thanks to Ted Young. | alexruiz, wanghy |
![]() | Added check 'isNotNull' to all the methods in all assertion objects that deal with not-null actual values. | wanghy |
![]() | Changed access of protected methods to package-protected. | wanghy |
![]() | Patch: added methods 'isEqualTo' and 'isNotEqualTo' to BooleanAssert. Fixes 96. Thanks to David DIDIER. | wanghy |
![]() | Patch: added methods 'matches' and 'doesNotMatch' to StringAssert. Fixes 94. Thanks to David DIDIER. | wanghy |
![]() | Patch: added methods 'isRelative' and 'isAbsolute' to FileAssert. Fixes 93. Thanks to David DIDIER. | wanghy |
![]() | Added method 'assertThat(Map)' to Assertions. This method returns a MapAssert. Fixes 90. Thanks to David DIDIER. | wanghy |
![]() | Patch: added class MapAssert. Fixes 90. Thanks to David DIDIER. | wanghy |
![]() | Patch: added methods 'greaterOrEqualTo' and 'lessOrEqualTo' to ByteAssert, CharAssert, DoubleAssert, FloatAssert, IntAssert, LongAssert and ShortAssert. Fixes 87. Thanks to David DIDER. | wanghy, alexruiz |
![]() | Patch: added methods 'startsWith' and 'endsWith' to StringAssert. Fixes 86. Thanks to David DIDIER. | wanghy |
![]() | Patch: added class method 'isInstanceOf' to ThrowableAssert. Fixes 84. Thanks to David DIDIER. | wanghy |
![]() | Patch: added class method 'hasSameContentAs' to FileAssert. Fixes 84. Thanks to David DIDIER. | wanghy |
![]() | Added method 'size()' to GroupAssert. This method returns an IntAssert. Fixes 35. Thanks to Martin Ankerl. | wanghy, alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Added method 'excludes' to StringAssert. Fixes 78. Thanks to David DIDIER. | wanghy |
![]() | Patch: added class FileAssert. Fixes 79. Thanks to David DIDIER. | wanghy |
![]() | Patch: added class ThrowableAssert. Fixes 77. Thanks to David DIDIER. | alexruiz |
![]() | Expected and actual values were in wrong order when creating a ComparisonFailure. Fixes 72. Thanks to Wim Deblauwe. | wanghy, alexruiz |
![]() | Added a generified overload of 'assertThat' to class Assertions. Fixes 47. Thanks to Mark Derricutt. | wanghy, alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Added a delta value for floating point equality in 'DoubleAssert' and 'FloatAssert'. Fixes 38. Thanks to Martin Ankerl. | wanghy |
![]() | Created Maven-generated site to replace Google Code's wiki pages. | alexruiz |
![]() | Fixed incorrect test for floating point equality in 'DoubleArrayAssert' and 'FloatArrayAssert'. Fixes 54. | alexruiz |
![]() | Added method 'containsOnly' to all assertion objects that handle arrays or collections. This method verifies that the actual array or collection contains all the given values and only the given values. | wanghy |
| Type | Changes | By |
|---|---|---|
![]() | Support for JUnit's ComparisonFailure. Fixes 31. Thanks to Konstantin Scheglov. | wanghy |
![]() | Added method 'contains' to all assertion objects that handle arrays or collections. This method verifies that the actual array or collection contains the given values. Fixes 37. Thanks to Martin Ankerl. | wanghy |
![]() | Added method 'excludes' to all assertion objects that handle arrays or collections. This method is the opposite of 'contains'. | wanghy |
![]() | All assertion objects override 'equals(Object)', which now throws 'UnsupportedOperationException' to prevent accidental calls. Fixes 39. Thanks to Martin Ankerl. | alexruiz |
| Type | Changes | By |
|---|---|---|
![]() | Introduced method 'describedAs' as a counterpart to 'as'. This issue prevented to use the method 'as' in Groovy ('as' is a keyword in Groovy). Fixes 30. Thanks to Marcos Silva Pereira. | wanghy |
![]() | Fixed minor bug in assertion classes for arrays (Object and primitives) where the actual and expected values where in the wrong order in the failure message of 'isEqualTo'. | wanghy |