Move to `expect` from `package:matcher` (#1969)

- Delete `test_api` copy of the `expect` libraries and tests.
- Re-export `package:matcher/expect.dart` from `test_api`.
- Re-export from `package:matcher/expect.dart` directly to maintain the
  same library surface from `package:test/test.dart` and
  `package:test/expect.dart`.
- Remove some documentation about specific matchers from the README.
- Re-export some `lib/src` libraries that are used in libraries that we can't
  roll synchronously with this package.

Temporarily add dependency overrides on `matcher` while it is
unpublished.
51 files changed
tree: abc25f97562330c4fad743a6024f0ab4d23bd784
  1. .github/
  2. integration_tests/
  3. legacy_tests/
  4. pkgs/
  5. tool/
  6. .gitattributes
  7. .gitignore
  8. analysis_options.yaml
  9. CONTRIBUTING.md
  10. mono_repo.yaml
  11. README.md
README.md

Dart CI OpenSSF Scorecard

What's here?

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.

Packages

PackageDescriptionVersion
checksA framework for checking values against expectations and building custom expectations.pub package
testA full featured library for writing and running Dart tests across platforms.pub package
test_apipub package
test_corepub package