OLD | NEW |
1 ## 0.12.5 | 1 ## 0.12.5 |
2 | 2 |
| 3 * Add `setUpAll()` and `tearDownAll()` methods that run callbacks before and |
| 4 after all tests in a group or suite. **Note that these methods are for special |
| 5 cases and should be avoided**—they make it very easy to accidentally introduce |
| 6 dependencies between tests. Use `setUp()` and `tearDown()` instead if |
| 7 possible. |
| 8 |
3 * Allow `setUp()` and `tearDown()` to be called multiple times within the same | 9 * Allow `setUp()` and `tearDown()` to be called multiple times within the same |
4 group. | 10 group. |
5 | 11 |
6 * When a `tearDown()` callback runs after a signal has been caught, it can now | 12 * When a `tearDown()` callback runs after a signal has been caught, it can now |
7 schedule out-of-band asynchronous callbacks normally rather than having them | 13 schedule out-of-band asynchronous callbacks normally rather than having them |
8 throw exceptions. | 14 throw exceptions. |
9 | 15 |
10 ## 0.12.4+9 | 16 ## 0.12.4+9 |
11 | 17 |
12 * If a `tearDown()` callback throws an error, outer `tearDown()` callbacks are | 18 * If a `tearDown()` callback throws an error, outer `tearDown()` callbacks are |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, | 317 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, |
312 `expectAsyncUntil1` and `expectAsyncUntil2` | 318 `expectAsyncUntil1` and `expectAsyncUntil2` |
313 * `TestCase`: | 319 * `TestCase`: |
314 * Removed properties: `setUp`, `tearDown`, `testFunction` | 320 * Removed properties: `setUp`, `tearDown`, `testFunction` |
315 * `enabled` is now get-only | 321 * `enabled` is now get-only |
316 * Removed methods: `pass`, `fail`, `error` | 322 * Removed methods: `pass`, `fail`, `error` |
317 * `interactive_html_config.dart` has been removed. | 323 * `interactive_html_config.dart` has been removed. |
318 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and | 324 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and |
319 `solo_group` now throw a `StateError` if called while tests are running. | 325 `solo_group` now throw a `StateError` if called while tests are running. |
320 * `rerunTests` has been removed. | 326 * `rerunTests` has been removed. |
OLD | NEW |