commit | f515fa8ed8010c3448d1c00729724963f7c0687b | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Oct 24 17:00:35 2019 -0700 |
committer | GitHub <noreply@github.com> | Thu Oct 24 17:00:35 2019 -0700 |
tree | e5d2fa8d75f2adda0dff41a28f7391b7868b0075 | |
parent | 5a3d81a1235a8f515064e3514f98f5aa7c3e5721 [diff] |
Switch from IOSink to StringSink (#1105) Towards #1100 The ExpandedReporter needs to work on the web platform. It worked before because it only used `print` which works everywhere. - Change the argument to `StringSink` which can be supported on every platform. - Remove the `dart:io` import from the expanded reporter. - Make the `sink` argument non-optional for the expanded reporter. - Add a `PrintSink` implementation that buffers writes until the content ends with a newline and then calls `print`.
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
.