commit | 5f9fe1115e6a5eb63e4ffb04686033a61cf1c46a | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Thu Sep 24 11:27:49 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu Sep 24 11:27:49 2020 -0700 |
tree | 3494b06323cbe6a6105d59479ed5f6729124e7ee | |
parent | 2214ebcf15910e9af42bca5d6b0153888e2b0a51 [diff] |
Add capabilities for building direct test runners (#1332) Towards #1310, #1328 Add `directRunTest` to configure a reporter and run tests directly in the same isolate. Add `enumerateTestCases` to collect test names without running them, and `directRunSingleTest` to run a specific test by its full name. These APIs ensure the uniqueness of test names to avoid ambiguity. This restriction may be spread to tests run through the normal test runner as well. - Add `fullTestName` option on `Declarer`. When used, only the test (or tests if uniqueness is not checked separately) will be considered as a test case. - Add `directRunTest`, `enumerateTestCases`, and `directRunSingleTest` APIs. These are kept under a `lib/src/` import for now, and any other package that uses these APIs should pin to a specific version of `package:test_core`. The details of these APIs might change without a major version bump.
This repository contains packages for writing and running Dart tests.
A full featured packaged for writing and running Dart tests on various platforms, e.g. VM, Chrome, Node etc.
A minimal package for writing tests. This package is used by package:test
and package:test_core
.
A minimal package for writing and running tests. It also contains extensions for implementing a custom test runner. This package is used by package:test
.