A full featured library for writing and running Dart tests across platforms.



Documentation

Dart CI OpenSSF Scorecard

What's here?

Welcome! package:test is the standard testing library for Dart and Flutter. If you have questions about Dart testing, please see the docs for package:test. package:test_api and package:test_core are implementation details and generally not user-facing.

package:checks is a relatively new library for expressing test expectations. It's a more modern version of package:matcher and features a literate API.

Packages

Package Description Version
checks A framework for checking values against expectations and building custom expectations. pub package
fake_async Fake asynchronous events such as timers and microtasks for deterministic testing. pub package
matcher Support for specifying test expectations via an extensible Matcher class. pub package
test A full featured library for writing and running Dart tests across platforms. pub package
test_api pub package
test_core pub package
test_process Test processes: starting; validating stdout and stderr; checking exit code pub package