OLD | NEW |
1 ##0.12.0-alpha.0 | 1 ## 0.12.0 |
2 | 2 |
3 * Added support for a test runner, which can be run via `pub run | 3 * 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/` | 4 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. | 5 directory that end in `_test.dart` and aren't in a `packages/` directory. |
6 | 6 |
7 * As part of moving to a runner-based model, most test configuration is moving | 7 * 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 | 8 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 | 9 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 | 10 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 | 11 release. These APIs include `skip_` and `solo_` functions, `Configuration` and |
(...skipping 14 matching lines...) Expand all Loading... |
26 | 26 |
27 * `expect` no longer has a named `failureHandler` argument. | 27 * `expect` no longer has a named `failureHandler` argument. |
28 | 28 |
29 * `expect` added an optional `formatter` argument. | 29 * `expect` added an optional `formatter` argument. |
30 | 30 |
31 * `completion` argument `id` renamed to `description`. | 31 * `completion` argument `id` renamed to `description`. |
32 | 32 |
33 * Removed several members from `SimpleConfiguration` that relied on removed | 33 * Removed several members from `SimpleConfiguration` that relied on removed |
34 functionality: `onExpectFailure`, `stopTestOnExpectFailure`, and 'name'. | 34 functionality: `onExpectFailure`, `stopTestOnExpectFailure`, and 'name'. |
35 | 35 |
| 36 ### 0.12.0-beta.1 |
| 37 |
| 38 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which |
| 39 test to run. |
| 40 |
36 ##0.11.5+1 | 41 ##0.11.5+1 |
37 | 42 |
38 * Internal code cleanups and documentation improvements. | 43 * Internal code cleanups and documentation improvements. |
39 | 44 |
40 ##0.11.5 | 45 ##0.11.5 |
41 | 46 |
42 * Bumped the version constraint for `matcher`. | 47 * Bumped the version constraint for `matcher`. |
43 | 48 |
44 ##0.11.4 | 49 ##0.11.4 |
45 | 50 |
(...skipping 91 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 |