Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: CHANGELOG.md

Issue 1400743002: Add support for setUpAll and tearDownAll. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/backend/declarer.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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.
OLDNEW
« no previous file with comments | « no previous file | lib/src/backend/declarer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698