commit | 82a1ca84f22dc9d405c06b6b744b5f2454df8b08 | [log] [tgz] |
---|---|---|
author | Moritz <mosum@google.com> | Fri Dec 20 14:51:26 2024 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 20 14:51:26 2024 +0100 |
tree | 84c28c54bb64ae535be9180588e5867a79ae6347 | |
parent | fea78528304bc48083fb500c106219f2e5181316 [diff] | |
parent | 711978a0450ef5080b9b30a9a4243f626d0a35c2 [diff] |
Merge `package:test_descriptor` (#2424) - [x] Move and fix workflow files, labeler.yaml, and badges in the README.md - [x] Rev the version of the package, so that pub.dev points to the correct site - [x] Add a line to the changelog: ``` * Move to `dart-lang/test` monorepo. ``` - [x] Add the package to the top-level readme of the monorepo: ``` | [test_descriptor](pkgs/test_descriptor/) | An API for defining and verifying files and directory structures. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Atest_descriptor) | [](https://pub.dev/packages/test_descriptor) | ``` - [ ] **Important!** Merge the PR with 'Create a merge commit' (enabling then disabling the `Allow merge commits` admin setting) - [x] Update the auto-publishing settings on https://pub.dev/packages/test_descriptor/admin - [x] Add the following text to https://github.com/dart-lang/test_descriptor/:' ``` > [!IMPORTANT] > This repo has moved to https://github.com/dart-lang/test/tree/master/pkgs/test_descriptor ``` - [ ] Publish using the autopublish workflow - [x] Push tags to GitHub using ``` git tag --list 'test_descriptor*' | xargs git push origin ``` - [x] Close open PRs in dart-lang/test_descriptor with the following message: ``` Closing as the [dart-lang/test_descriptor](https://github.com/dart-lang/test_descriptor) repository is merged into the [dart-lang/test](https://github.com/dart-lang/test) monorepo. Please re-open this PR there! ``` - [x] Transfer issues by running ``` dart run pkgs/repo_manage/bin/report.dart transfer-issues --source-repo dart-lang/test_descriptor --target-repo dart-lang/test --add-label package:test_descriptor --apply-changes ``` - [ ] Archive https://github.com/dart-lang/test_descriptor/ --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Most changes should add an entry to the changelog and may need to [rev the pubspec package version](https://github.com/dart-lang/sdk/blob/main/docs/External-Package-Maintenance.md#making-a-change). - Changes to packages require [corresponding tests](https://github.com/dart-lang/.github/blob/main/CONTRIBUTING.md#Testing). Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback. </details>
Welcome! package:test is the standard testing library for Dart and Flutter. If you have questions about Dart testing, please see the docs for package:test. package:test_api
and package:test_core
are implementation details and generally not user-facing.
package:checks is a relatively new library for expressing test expectations. It's a more modern version of package:matcher
and features a literate API.
Package | Description | Version |
---|---|---|
checks | A framework for checking values against expectations and building custom expectations. | |
fake_async | Fake asynchronous events such as timers and microtasks for deterministic testing. | |
matcher | Support for specifying test expectations via an extensible Matcher class. | |
test | A full featured library for writing and running Dart tests across platforms. | |
test_api | ||
test_core | ||
test_descriptor | An API for defining and verifying files and directory structures. | |
test_process | Test processes: starting; validating stdout and stderr; checking exit code |