checks 0.2.0 copy "checks: ^0.2.0" to clipboard
checks: ^0.2.0 copied to clipboard

outdated

A framework for checking values against expectations and building custom expectations.

0.2.0 #

  • Breaking Changes
    • checkThat renamed to check.
    • nest and nestAsync take Iterable<String> Function() arguments for label instead of String.
    • Async expectation extensions completes, throws, emits, and emitsError no longer return a Future<Subject>. Instead they take an optional Condition argument which can check expectations that would have been checked on the returned subject.
    • nestAsync no longer returns a Subject, callers must pass the followup Condition to the nullable argument.
    • Remove the which extension on Future<Subject>.
    • matches renamed to matchesPattern and now accepts a Pattern argument, instead of limiting to RegExp.
  • Added an example.
  • Include a stack trace in the failure description for unexpected errors from Futures or Streams.

0.1.0 #

  • Initial release.
103
likes
0
points
57.9k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

A framework for checking values against expectations and building custom expectations.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, meta, test_api

More

Packages that depend on checks