Only use environment variable for chrome (#1970)

Add a new argument to the `ExectuableSettings` constructor to add an
environment variable that can override the specific executable, instead
of overriding for all uses of `ExectuableSettings`. Pass this variable
from the chrome browser.

Add a test that the override is ignored when running a firefox test.
3 files changed
tree: 0937d74b93c22a5147da5712d4fb403538237269
  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