commit | 5aef9719ad9b598260c062b2a90a50d2f50a78f3 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Mon Aug 04 15:26:59 2025 -0700 |
committer | GitHub <noreply@github.com> | Mon Aug 04 15:26:59 2025 -0700 |
tree | 6ee60a9d955eccb0bdf51d43b8b94c5f4e0bda30 | |
parent | 953e8282c6e1d08d47d53169fea7ccb7db8475fa [diff] |
Allow connecting to the runner from test suite (#2526) Closes #2497 Add a zone variable when the declarer runs `main` from the test suite which gives access to the `connectOut` callback which creates a channel back to the runner with a provided name. Add an optional argument allowing a map of zone values to the `declare` method and use it from the remote listener.
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.
Package | Description | Issues | Version |
---|---|---|---|
checks | A framework for checking values against expectations and building custom expectations. | ||
fake_async | Fake asynchronous events such as timers and microtasks for deterministic testing. | ||
matcher | Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases. | ||
test | A full featured library for writing and running Dart tests across platforms. | ||
test_api | The user facing API for structuring Dart tests and checking expectations. | ||
test_core | A basic library for writing tests and running them on the VM. | ||
test_descriptor | An API for defining and verifying files and directory structures. | ||
test_process | Test processes: starting; validating stdout and stderr; checking exit code. |