Search categories, packages and repositories

GitHub repositorydart-lang/test

test

A library for writing unit tests in Dart.

test project cover
Stars
536
Forks
232
Last push (UTC)
Sep 19, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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 Issues Version
checks A framework for checking values against expectations and building custom expectations. issues pub package
fake_async Fake asynchronous events such as timers and microtasks for deterministic testing. issues pub package
matcher Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases. issues pub package
test A full featured library for writing and running Dart tests across platforms. issues pub package
test_api The user facing API for structuring Dart tests and checking expectations. pub package
test_core A basic library for writing tests and running them on the VM. pub package
test_descriptor An API for defining and verifying files and directory structures. issues pub package
test_process Test processes: starting; validating stdout and stderr; checking exit code. issues pub package
Dart GitHub avatar
GitHub author

Dart ↗

Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.

United States of AmericaOfficial website ↗
LanguagesDartCSSJavaScriptHTMLGo Template

Dependencies used

Dependency list 1 items

  • dart_flutter_team_lintsDevelopment^3.1.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗