OLD | NEW |
1 # Changelog - unittest | 1 # Changelog - unittest |
2 | 2 |
3 ##0.10.0-dev | 3 ##0.10.1-dev |
| 4 |
| 5 * `equals` now allows a nested matcher as an expected list element or map value
when doing deep matching. |
| 6 |
| 7 ##0.10.0 |
4 | 8 |
5 * Each test is run in a separate `Zone`. This ensures that any exceptions that | 9 * Each test is run in a separate `Zone`. This ensures that any exceptions that |
6 occur is async operations are reported back to the source test case. | 10 occur is async operations are reported back to the source test case. |
7 * **DEPRECATED** `guardAsync`, `protectAsync0`, `protectAsync1`, | 11 * **DEPRECATED** `guardAsync`, `protectAsync0`, `protectAsync1`, |
8 and `protectAsync2` | 12 and `protectAsync2` |
9 * Running each test in a `Zone` addresses the need for these methods. | 13 * Running each test in a `Zone` addresses the need for these methods. |
10 * **NEW!** `expectAsync` replaces the now deprecated `expectAsync0`, | 14 * **NEW!** `expectAsync` replaces the now deprecated `expectAsync0`, |
11 `expectAsync1` and `expectAsync2` | 15 `expectAsync1` and `expectAsync2` |
12 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, | 16 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, |
13 `expectAsyncUntil1` and `expectAsyncUntil2` | 17 `expectAsyncUntil1` and `expectAsyncUntil2` |
14 * `TestCase`: | 18 * `TestCase`: |
15 * Removed properties: `setUp`, `tearDown`, `testFunction` | 19 * Removed properties: `setUp`, `tearDown`, `testFunction` |
16 * `enabled` is now get-only | 20 * `enabled` is now get-only |
17 * Removed methods: `pass`, `fail`, `error` | 21 * Removed methods: `pass`, `fail`, `error` |
18 * `interactive_html_config.dart` has been removed. | 22 * `interactive_html_config.dart` has been removed. |
19 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and | 23 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and |
20 `solo_group` now throw a `StateError` if called while tests are running. | 24 `solo_group` now throw a `StateError` if called while tests are running. |
21 * `rerunTests` has been removed. | 25 * `rerunTests` has been removed. |
22 * `equals` now allows a nested matcher as an expected list element or map value
when doing deep matching. | |
23 | 26 |
24 ##0.9.3 - 2014-01-13 | 27 ##0.9.3 - 2014-01-13 |
OLD | NEW |