commit | 4da62ac60a1bcb5caa92671d484fab3e0f90df54 | [log] [tgz] |
---|---|---|
author | Nate Bosch <nbosch@google.com> | Thu Jun 27 19:07:13 2024 |
committer | GitHub <noreply@github.com> | Thu Jun 27 19:07:13 2024 |
tree | ce249c0d624f2dfb5a5f65cf469791470829b148 | |
parent | 329c6dff4dfcb178ba6c7009cf1c1b9215b317aa [diff] |
Add package config URI into VM test entrypoints (#2245) Towards #2246 This will allow a client of the VM service to evaluate the top level variable and locate the package config used by the test runner. Add a public `testBootstapContents` function in `test_compiler.dart` which centralizes the bootstrap templates. Add an argument for the package config URI and a `VmTestType` which is either "Vm" or "Native". Add the first test case in `test_core`. Add the pub dependency and override for `package:test`, as well as the mono_repo configuration to run unit tests. Other tests for `test_core` code is under the `test` package but should be moved eventually.
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. | |
test | A full featured library for writing and running Dart tests across platforms. | |
test_api | ||
test_core |