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

Side by Side Diff: CHANGELOG.md

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 8 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 | README.md » ('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.0-beta.2
2
3 * Rename the package to `test`. The `unittest` package will continue to exist
4 through the `0.12.0` cycle, but it's deprecated and will just export the
5 `test` package.
6
1 ### 0.12.0-beta.1 7 ### 0.12.0-beta.1
2 8
3 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which 9 * Add a `--name` (shorthand `-n`) flag to the test runner for selecting which
4 test to run. 10 test to run.
5 11
6 * Ensure that `print()` in tests always prints on its own line. 12 * Ensure that `print()` in tests always prints on its own line.
7 13
8 * Forward `print()`s from browser tests to the command-line reporter. 14 * Forward `print()`s from browser tests to the command-line reporter.
9 15
10 * Add a missing dependency on `string_scanner`. 16 * Add a missing dependency on `string_scanner`.
11 17
12 ## 0.12.0-beta.0 18 ## 0.12.0-beta.0
13 19
14 * Added support for a test runner, which can be run via `pub run 20 * Added support for a test runner, which can be run via `pub run
15 unittest:unittest`. By default it runs all files recursively in the `test/` 21 test:test`. By default it runs all files recursively in the `test/`
16 directory that end in `_test.dart` and aren't in a `packages/` directory. 22 directory that end in `_test.dart` and aren't in a `packages/` directory.
17 23
18 * As part of moving to a runner-based model, most test configuration is moving 24 * As part of moving to a runner-based model, most test configuration is moving
19 out of the test file and into the runner. As such, many ancillary APIs are 25 out of the test file and into the runner. As such, many ancillary APIs are
20 stubbed out and marked as deprecated. They still exist to make adoption 26 stubbed out and marked as deprecated. They still exist to make adoption
21 easier, but they're now no-ops and will be removed before the stable 0.12.0 27 easier, but they're now no-ops and will be removed before the stable 0.12.0
22 release. These APIs include `skip_` and `solo_` functions, `Configuration` and 28 release. These APIs include `skip_` and `solo_` functions, `Configuration` and
23 all its subclasses, `TestCase`, `TestFunction`, `unittestConfiguration`, 29 all its subclasses, `TestCase`, `TestFunction`, `testConfiguration`,
24 `formatStacks`, `filterStacks`, `groupSep`, `logMessage`, `testCases`, 30 `formatStacks`, `filterStacks`, `groupSep`, `logMessage`, `testCases`,
25 `BREATH_INTERVAL`, `currentTestCase`, `PASS`, `FAIL`, `ERROR`, `filterTests`, 31 `BREATH_INTERVAL`, `currentTestCase`, `PASS`, `FAIL`, `ERROR`, `filterTests`,
26 `runTests`, `ensureInitialized`, `setSoloTest`, `enableTest`, `disableTest`, 32 `runTests`, `ensureInitialized`, `setSoloTest`, `enableTest`, `disableTest`,
27 and `withTestEnvironment`. 33 and `withTestEnvironment`.
28 34
29 * Removed `FailureHandler`, `DefaultFailureHandler`, 35 * Removed `FailureHandler`, `DefaultFailureHandler`,
30 `configureExpectFailureHandler`, and `getOrCreateExpectFailureHandler` which 36 `configureExpectFailureHandler`, and `getOrCreateExpectFailureHandler` which
31 used to be exported from the `matcher` package. They existed to enable 37 used to be exported from the `matcher` package. They existed to enable
32 integration between `unittest` and `matcher` that has been streamlined. 38 integration between `test` and `matcher` that has been streamlined.
33 39
34 * Moved a number of APIs from `matcher` into `unittest`, including: 40 * Moved a number of APIs from `matcher` into `test`, including:
35 `completes`, `completion`, `ErrorFormatter`, `expect`,`fail`, `prints`, 41 `completes`, `completion`, `ErrorFormatter`, `expect`,`fail`, `prints`,
36 `TestFailure`, `Throws`, and all of the `throws` methods. 42 `TestFailure`, `Throws`, and all of the `throws` methods.
37 43
38 * `expect` no longer has a named `failureHandler` argument. 44 * `expect` no longer has a named `failureHandler` argument.
39 45
40 * `expect` added an optional `formatter` argument. 46 * `expect` added an optional `formatter` argument.
41 47
42 * `completion` argument `id` renamed to `description`. 48 * `completion` argument `id` renamed to `description`.
43 49
44 * Removed several members from `SimpleConfiguration` that relied on removed 50 * Removed several members from `SimpleConfiguration` that relied on removed
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`, 154 * **NEW!** `expectAsyncUntil` replaces the now deprecated `expectAsyncUntil0`,
149 `expectAsyncUntil1` and `expectAsyncUntil2` 155 `expectAsyncUntil1` and `expectAsyncUntil2`
150 * `TestCase`: 156 * `TestCase`:
151 * Removed properties: `setUp`, `tearDown`, `testFunction` 157 * Removed properties: `setUp`, `tearDown`, `testFunction`
152 * `enabled` is now get-only 158 * `enabled` is now get-only
153 * Removed methods: `pass`, `fail`, `error` 159 * Removed methods: `pass`, `fail`, `error`
154 * `interactive_html_config.dart` has been removed. 160 * `interactive_html_config.dart` has been removed.
155 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and 161 * `runTests`, `tearDown`, `setUp`, `test`, `group`, `solo_test`, and
156 `solo_group` now throw a `StateError` if called while tests are running. 162 `solo_group` now throw a `StateError` if called while tests are running.
157 * `rerunTests` has been removed. 163 * `rerunTests` has been removed.
OLDNEW
« no previous file with comments | « no previous file | README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698