commit | 5d571d64a298d476689dd60113b0fc67fdb7e157 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Aug 03 10:03:26 2023 -0700 |
committer | GitHub <noreply@github.com> | Thu Aug 03 10:03:26 2023 -0700 |
tree | c170eca101a0e574f01736edf3569c1e77d725e0 | |
parent | a9dcce29367fa87a71423dad8f07f491205e682a [diff] |
Add --fail-fast flag (#2040) Closes #1841 Add a `--fail-fast` flag which stops running test cases after the first failure. - in the engine, check for failed tests immediately after running them. when fast failures are enabled `close()` the engine after any failure. Teardowns and cleanups will run, and any concurrently running tests in other suits will finish, but no further tests will start. - add the argument in `configuration` and parse it with the args. - add a test with a failing case that prevents later tests from running.
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 | Version |
---|---|---|
checks | A framework for checking values against expectations and building custom expectations. | |
test | A full featured library for writing and running Dart tests across platforms. | |
test_api | ||
test_core |