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