OLD | NEW |
1 ### 0.12.0-beta.1 | 1 ### 0.12.0-beta.1 |
2 | 2 |
3 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which | 3 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which |
4 test to run. | 4 test to run. |
5 | 5 |
| 6 * Ensure that `print()` in tests always prints on its own line. |
| 7 |
| 8 * Forward `print()`s from browser tests to the command-line reporter. |
| 9 |
6 * Add a missing dependency on `string_scanner`. | 10 * Add a missing dependency on `string_scanner`. |
7 | 11 |
8 ## 0.12.0-beta.0 | 12 ## 0.12.0-beta.0 |
9 | 13 |
10 * Added support for a test runner, which can be run via `pub run | 14 * Added support for a test runner, which can be run via `pub run |
11 unittest:unittest`. By default it runs all files recursively in the `test/` | 15 unittest:unittest`. By default it runs all files recursively in the `test/` |
12 directory that end in `_test.dart` and aren't in a `packages/` directory. | 16 directory that end in `_test.dart` and aren't in a `packages/` directory. |
13 | 17 |
14 * As part of moving to a runner-based model, most test configuration is moving | 18 * As part of moving to a runner-based model, most test configuration is moving |
15 out of the test file and into the runner. As such, many ancillary APIs are | 19 out of the test file and into the runner. As such, many ancillary APIs are |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, | 148 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, |
145 `expectAsyncUntil1` and `expectAsyncUntil2` | 149 `expectAsyncUntil1` and `expectAsyncUntil2` |
146 * `TestCase`: | 150 * `TestCase`: |
147 * Removed properties: `setUp`, `tearDown`, `testFunction` | 151 * Removed properties: `setUp`, `tearDown`, `testFunction` |
148 * `enabled` is now get-only | 152 * `enabled` is now get-only |
149 * Removed methods: `pass`, `fail`, `error` | 153 * Removed methods: `pass`, `fail`, `error` |
150 * `interactive_html_config.dart` has been removed. | 154 * `interactive_html_config.dart` has been removed. |
151 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and | 155 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and |
152 `solo_group` now throw a `StateError` if called while tests are running. | 156 `solo_group` now throw a `StateError` if called while tests are running. |
153 * `rerunTests` has been removed. | 157 * `rerunTests` has been removed. |
OLD | NEW |