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.