commit | 37470f996232ff4903fffda22ccdcbb2e2a72a6b | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Wed Jun 17 17:59:34 2020 -0700 |
committer | Nate Bosch <nbosch@google.com> | Wed Jun 17 18:03:37 2020 -0700 |
tree | 05660fa302dfc48488130896e7dcd889459e2100 | |
parent | 503b196cc5deeb3851adde3e0caf776e2f4099ba [diff] |
Restore _guardIfGuarded Without this an erroring future that originates in `setUpAll` can't complete (to an error) in a teardown added by the setup with `addTearDown`. Instead use `Invoker.guard` and store the variable, Run both the `main` and the tests themselves in that same zone. There might be a more targeted way we can handle this though, and hopefully also alleviate the `guardIfGuarded` stuff.
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
.