File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
99### Added
1010- Add ` isDataClassEqualTo ` for better messaging when comparing data classes.
11+ - Add ` matchesPredicate ` to match against a predicate function/lambda.
12+ - Add ` atLeast ` iterable assertion which passes if the assertion on each item passes at least n times.
13+ - Add ` isCloseTo ` for floats and doubles to check that a value is within a delta of what's expected.
14+ - Add ` lines ` and ` bytes ` to Path assertions for asserting on a file's contents.
15+ - Add ` containsOnly ` for Collection assertions.
16+
17+ ### Changed
18+ - Sort ` containsExactly ` output by index to make it easier to compare.
19+ - ` containsAll ` now includes the expected map.
20+
21+ ### Fixed
22+ - Number assertions now work correctly on BigInteger and BigDecimal
23+ - Soft assertions breaking if exception is thrown.
24+
25+ ### Deprecated
26+ - Deprecated ` assert ` in favor of ` assertThat ` .
27+ - Deprecated accessing the ` actual ` value on an assertion directly. Instead use ` given ` which will provide it in a lambda.
28+
29+ ### Breaking Changes
30+ - Previously deprecated methods (as of 0.10) are now errors.
1131
1232## [ 0.12] - 2018-08-20
1333
You can’t perform that action at this time.
0 commit comments