checks 0.2.1
checks: ^0.2.1 copied to clipboard
A framework for checking values against expectations and building custom expectations.
0.2.1 #
- Add a link to file issues with feedback in the README.
0.2.0 #
- Breaking Changes
checkThat
renamed tocheck
.nest
andnestAsync
takeIterable<String> Function()
arguments forlabel
instead ofString
.- Async expectation extensions
completes
,throws
,emits
, andemitsError
no longer return aFuture<Subject>
. Instead they take an optionalCondition
argument which can check expectations that would have been checked on the returned subject. nestAsync
no longer returns aSubject
, callers must pass the followupCondition
to the nullable argument.- Remove the
which
extension onFuture<Subject>
. matches
renamed tomatchesPattern
and now accepts aPattern
argument, instead of limiting toRegExp
.
- Added an example.
- Include a stack trace in the failure description for unexpected errors from Futures or Streams.
0.1.0 #
- Initial release.