OLD | NEW |
1 ##0.12.0-alpha.0 | 1 ### 0.12.0-beta.1 |
2 | 2 |
| 3 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which |
| 4 test to run. |
| 5 |
| 6 ## 0.12.0-beta.0 |
| 7 |
3 * Added support for a test runner, which can be run via `pub run | 8 * Added support for a test runner, which can be run via `pub run |
4 unittest:unittest`. By default it runs all files recursively in the `test/` | 9 unittest:unittest`. By default it runs all files recursively in the `test/` |
5 directory that end in `_test.dart` and aren't in a `packages/` directory. | 10 directory that end in `_test.dart` and aren't in a `packages/` directory. |
6 | 11 |
7 * As part of moving to a runner-based model, most test configuration is moving | 12 * As part of moving to a runner-based model, most test configuration is moving |
8 out of the test file and into the runner. As such, many ancillary APIs are | 13 out of the test file and into the runner. As such, many ancillary APIs are |
9 stubbed out and marked as deprecated. They still exist to make adoption | 14 stubbed out and marked as deprecated. They still exist to make adoption |
10 easier, but they're now no-ops and will be removed before the stable 0.12.0 | 15 easier, but they're now no-ops and will be removed before the stable 0.12.0 |
11 release. These APIs include `skip_` and `solo_` functions, `Configuration` and | 16 release. These APIs include `skip_` and `solo_` functions, `Configuration` and |
12 all its subclasses, `TestCase`, `TestFunction`, `unittestConfiguration`, | 17 all its subclasses, `TestCase`, `TestFunction`, `unittestConfiguration`, |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, | 142 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, |
138 `expectAsyncUntil1` and `expectAsyncUntil2` | 143 `expectAsyncUntil1` and `expectAsyncUntil2` |
139 * `TestCase`: | 144 * `TestCase`: |
140 * Removed properties: `setUp`, `tearDown`, `testFunction` | 145 * Removed properties: `setUp`, `tearDown`, `testFunction` |
141 * `enabled` is now get-only | 146 * `enabled` is now get-only |
142 * Removed methods: `pass`, `fail`, `error` | 147 * Removed methods: `pass`, `fail`, `error` |
143 * `interactive_html_config.dart` has been removed. | 148 * `interactive_html_config.dart` has been removed. |
144 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and | 149 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and |
145 `solo_group` now throw a `StateError` if called while tests are running. | 150 `solo_group` now throw a `StateError` if called while tests are running. |
146 * `rerunTests` has been removed. | 151 * `rerunTests` has been removed. |
OLD | NEW |