More smoothly handle missing compiler info (#1980)

The constructor signature uses a nullable argument to smooth over the
compatibility across versions which allowed us to land in monolithic
repositories without needing to roll `test_api` and `flutter_test`
atomically. This extends the same backwards compatibility to the json
API used between the runner and tests to smooth over compatibility with
`flutter test` which may try to run test compiled against a newer API
than it uses to communicate with them.
7 files changed
tree: 212323e89885907622c5c6abe39e49987957895a
  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