🌐 AI搜索 & 代理 主页
Clone this repo:
  1. 462b474 [coverage] Support workspaces in coverage filters (#2574) by Liam Appelbe · 22 hours ago master
  2. 30aa541 Require a definition named `main` in test suites (#2569) by Nate Bosch · 3 days ago
  3. c15153b Bump the github-actions group with 2 updates (#2568) by dependabot[bot] · 11 days ago
  4. bbad7a2 Add `--coverage-package` option (#2566) by Liam Appelbe · 2 weeks ago
  5. cba5c15 Prepare to publish package:test (#2565) by Nate Bosch · 3 weeks ago test-v1.28.0

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

PackageDescriptionIssuesVersion
checksA framework for checking values against expectations and building custom expectations.issuespub package
fake_asyncFake asynchronous events such as timers and microtasks for deterministic testing.issuespub package
matcherSupport for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases.issuespub package
testA full featured library for writing and running Dart tests across platforms.issuespub package
test_apiThe user facing API for structuring Dart tests and checking expectations.pub package
test_coreA basic library for writing tests and running them on the VM.pub package
test_descriptorAn API for defining and verifying files and directory structures.issuespub package
test_processTest processes: starting; validating stdout and stderr; checking exit code.issuespub package