OLD | NEW |
1 ## 0.12.3 | 1 ## 0.12.3 |
2 | 2 |
3 * If a future matched against the `completes` or `completion()` matcher throws | 3 * If a future matched against the `completes` or `completion()` matcher throws |
4 an error, that error is printed directly rather than being wrapped in a | 4 an error, that error is printed directly rather than being wrapped in a |
5 string. This allows such errors to be captured using the Zone API and improves | 5 string. This allows such errors to be captured using the Zone API and improves |
6 formatting. | 6 formatting. |
7 | 7 |
8 * In order to be more extensible, all exception handling within tests now uses | 8 * In order to be more extensible, all exception handling within tests now uses |
9 the Zone API. | 9 the Zone API. |
10 | 10 |
11 * Add a heartbeat to reset a test's timeout whenever the test interacts with the | 11 * Add a heartbeat to reset a test's timeout whenever the test interacts with the |
12 test infrastructure. | 12 test infrastructure. |
13 | 13 |
| 14 * `expect()`, `expectAsync()`, and `expectAsyncUntil()` throw more useful errors |
| 15 if called outside a test body. |
| 16 |
14 ## 0.12.2 | 17 ## 0.12.2 |
15 | 18 |
16 * Convert JavaScript stack traces into Dart stack traces using source maps. This | 19 * Convert JavaScript stack traces into Dart stack traces using source maps. This |
17 can be disabled with the new `--js-trace` flag. | 20 can be disabled with the new `--js-trace` flag. |
18 | 21 |
19 * Improve the browser test suite timeout logic to avoid timeouts when running | 22 * Improve the browser test suite timeout logic to avoid timeouts when running |
20 many browser suites at once. | 23 many browser suites at once. |
21 | 24 |
22 ## 0.12.1 | 25 ## 0.12.1 |
23 | 26 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, | 172 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, |
170 `expectAsyncUntil1` and `expectAsyncUntil2` | 173 `expectAsyncUntil1` and `expectAsyncUntil2` |
171 * `TestCase`: | 174 * `TestCase`: |
172 * Removed properties: `setUp`, `tearDown`, `testFunction` | 175 * Removed properties: `setUp`, `tearDown`, `testFunction` |
173 * `enabled` is now get-only | 176 * `enabled` is now get-only |
174 * Removed methods: `pass`, `fail`, `error` | 177 * Removed methods: `pass`, `fail`, `error` |
175 * `interactive_html_config.dart` has been removed. | 178 * `interactive_html_config.dart` has been removed. |
176 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and | 179 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and |
177 `solo_group` now throw a `StateError` if called while tests are running. | 180 `solo_group` now throw a `StateError` if called while tests are running. |
178 * `rerunTests` has been removed. | 181 * `rerunTests` has been removed. |
OLD | NEW |