commit | 658e47e99c170605f7ab7502c556aae295ed9f46 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch1@gmail.com> | Fri Jan 31 17:33:13 2020 -0800 |
committer | GitHub <noreply@github.com> | Fri Jan 31 17:33:13 2020 -0800 |
tree | 9c8e61aa26265e8379f323af674d6780178658f5 | |
parent | a5addd37e0fd6572c7b80ced21299dfa9b9c6237 [diff] |
Avoid unhandled errors in spawnHybridUri (#1162) Closes #1007 Closes #1008 We already forward errors across the `StreamChannel` so it isn't particularly useful to also have them printed to the output on the VM hosting the runner. We know that `listen` is only ever called in an Isolate that was spawned from the runner and the `zone` is the root zone. The uncaught error handler on the root zone will print the error and then kill the isolate, we jump straight to killing the isolate instead. This Isolate is only ever spawned without an `onError` handler that would override the default.
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
.