commit | 6719bc6da2fa929d72c5bf5a324eb0243d4479b0 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Dec 12 17:10:34 2024 -0800 |
committer | GitHub <noreply@github.com> | Thu Dec 12 17:10:34 2024 -0800 |
tree | 0c498883b884181716d63835d1b2266a9ebf1ce9 | |
parent | dc0f8ea4d09aabb0fed16daea3d4653c8f967b02 [diff] |
Use dart_flutter_team_lints for matcher (#2426) Change the dependency and analysis options include to the stricter team configuration. Fix newly surfaced diagnostics. Most code changes are related to the strict modes that are enabled by the team config. Fix most implicit casts with explicit casts, but fix some arguments in `typedMatches` implementation so they don't unnecessarily widen the type back to `dynamic` before using the value. Bump to Dart 3.5 The min SDK for the test runner is already at 3.5.0 and matcher is only usable with the latest version of the test runner.
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 |