checks 0.2.2 checks: ^0.2.2 copied to clipboard
A framework for checking values against expectations and building custom expectations.
- Return the first failure from
softCheckAsyncas documented, instead of the last failure when there are multiple failures.
- Add example
becauseusage and mention the "reason" name in the migration guide.
ComparableCheckswith comparison expectations for subject types that implement
- Add a link to file issues with feedback in the README.
- Breaking Changes
Iterable<String> Function()arguments for
- Async expectation extensions
emitsErrorno longer return a
Future<Subject>. Instead they take an optional
Conditionargument which can check expectations that would have been checked on the returned subject.
nestAsyncno longer returns a
Subject, callers must pass the followup
Conditionto the nullable argument.
- Remove the
matchesPatternand now accepts a
Patternargument, instead of limiting to
- Added an example.
- Include a stack trace in the failure description for unexpected errors from Futures or Streams.
- Initial release.