NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #34 most downloaded on pub.dev
A basic library for writing tests and running them on the VM.
Last release 1 months ago
02 Sep 2026
Release timing varies
gaps range from 8 days to 5 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
129 releases · first in 2018
Pass sanitizer environment defaults when running tests compiled as native CLI bundles.
DART_TEST_REPORTER environment variable.Passing tests group inGithubReporter.exe compiler.exe compiler.Add support for -c cli (the native CLI compiler) to the vm platform.
-c cli (the native CLI compiler) to the vm platform.3.x.x.analyzer: '>=13.0.0 <15.0.0'parse_metadata.dart to be compatible with analyzer >=13.0.0 <15.0.0.One column per quarter.
-c cli (the native CLI compiler) to the vm platform.--shard-by-suite to control sharding strategy.3.x.x.analyzer: '>=13.0.0 <15.0.0'parse_metadata.dart to be compatible with analyzer >=13.0.0 <15.0.0.Ignore an error locating the SDK directory on platforms where the resolvedExecutable is unexpectedly null .
resolvedExecutable is unexpectedly null.NO_COLOR, CLICOLOR, FORCE_COLOR, CLICOLOR_FORCE, and TERM=dumb-c exe tests would hang on exit on windows.parse_metadata.dart to be compatible with analyzer >=8.0.0 <14.0.0.GithubReporter:
Print a summary of failed tests at the end of the expanded reporter output.
vm-asan, vm-msan, and vm-tsan runtimes to run tests on the standalonebody callback argument to group to void fromdynamic. This may surface cases where the group callback was erroneously--compiler exe crashes.analyzer: '>=8.0.0 <13.0.0'Fix coverage reporting to report all coverage when using JSON workflow.
SuiteConfiguration.suiteLoadTimeout to configure the timeout for loading a test suite.none.test_api to 0.7.10Add --coverage-package flag, which filters the coverage report to specific packages using RegExps.
--coverage-package flag, which filters the coverage report to specific
packages using RegExps.main directly in a test suite and
provide a more direct error message than a failing compiler output.analyzer major version 10.Fix type cast when parsing a null hit map.
null hit map.Add --coverage-path and --branch-coverage options to dart test.
--coverage-path and --branch-coverage options to dart test.analyzer major version 9.Expand pub constraint to allow the latest analyzer.
analyzer.Graduate native assets from experiment to preview.
Set a debug name for test isolates.
setUpAll or tearDownAll and running
with asserts enabled.Add support for native assets for dart test in pub workspaces.
dart test in pub workspaces.test() and group() functions now take an optional TestLocation that will
be used as the location of the test in JSON reporters instead of being parsed
from the call stack.Fix hang when running multiple precompiled browser tests.
Update the package:vm_service constraint to allow version 15.x.
package:vm_service constraint to allow version 15.x.Allow analyzer: '>=6.0.0 <8.0.0'
analyzer: '>=6.0.0 <8.0.0'dart compile wasm.Increase SDK constraint to ^3.4.0.
., this breaks windows.Enable asserts for dart2wasm tests.
dart2wasm tests.Update min SDK constraint to 3.2.0.
dart2wasm - use dart compile wasm instead of depending on
SDK internalsAdd @doNotSubmit to more declarations of the solo parameter.
@doNotSubmit to more declarations of the solo parameter.Handle missing package configs.
Handle paths with leading / when spawning test isolates.
/ when spawning test isolates.dart2wasm as a supported compiler for the chrome runtime.experimentalChromeWasm runtime.Runtime.isJS and Runtime.isWasm, as this is now
based on the compiler and not the runtime.Configuration.pubServeUrl and support for it.lib/ with relative imports to other
libraries in the package.package:frontend_server_client constraint to allow version
4.0.0.package:vm_service constraint to allow version 14.x.Update the vm_service constraint to allow version 13.x.
13.x.Move scaffolding definitions to a non-deprecated library.
Compiler argument to currentPlatform.Pass --disable-program-split to dart2js to fix tests which use deferred loading.
package:vm_service 12.0.0Add support for discontinuing after the first failing test with --fail-fast.
--fail-fast.Change "compiling " to "loading " message in all cases. Surface the "loading" messages in the situations where previously only "compiling" message wou
Drop support for null unsafe Dart, bump SDK constraint to 3.0.0.
3.0.0.final modifier on some implementation classes: Configuration,
CustomRuntime,RuntimeSettings, SuiteConfiguration.root_ fields in the JSON reporter when running a test on Windows
with an absolute path.Fix compatibility with wasm number semantics.
Use the version 0.5.2 of packge:test_api.
0.5.2 of packge:test_api.Start adding experimental support for native_assets.yaml, when --enable-experiment=native_assets is passed.
--enable-experiment=native_assets is passed.Deprecate --use-data-isolate-strategy. It is now an alias for -c vm:source which is roughly equivalent. If this is breaking for you please file an iss…
--compiler flag, which can be used to configure which compiler
to use.
[<platform>:]<compiler>. For example the command line
argument --compiler vm:source would run all vm tests from source instead
of compiling to kernel first.-c exe (the native executable compiler) to the vm platform.Compiler class, exposed through backend.dart.--use-data-isolate-strategy. It is now an alias for -c vm:source
which is roughly equivalent. If this is breaking for you please file an issue.defaultCompiler and supportedCompilers fields
to Runtime.compiler field to SuitePlatform.compilerSelections argument to some
Configuration and SuiteConfiguration constructors.SuitePlatform argument to PlatformPlugin.load. This is
not statically breaking but it will be confusing for users if it isn't
supported.useDataIsolateStrategy field from Configuration.package:matcher/expect.dart.Fix running paths by absolute path (with drive letter) on windows.
Avoid empty expandable groups for tests without extra output in Github reporter.
vm_service constraint to >=6.0.0 <12.0.0.Don't run tearDown until the test body and outstanding work is complete, even if the test has already failed.
tearDown until the test body and outstanding work is complete,
even if the test has already failed.vm_service constraint to >=6.0.0 <11.0.0.Move includeTags and excludeTags from SuiteConfiguration to Configuration.
includeTags and excludeTags from SuiteConfiguration to
Configuration.Fix an issue with the github reporter where tests that fail asynchronously after they've completed would show up as succeeded tests.
package:test_api.CompilerPool to be abstract, add wasm compiler pool.Support package:matcher version 0.12.13.
package:matcher version 0.12.13.Support the latest package:test_api.
package:test_api.package:analyzer.Support the latest package:test_api.
package:test_api.package:frontend_server_client.Make the labels for test loading more readable in the compact and expanded reporters, use gray instead of black.
Support the latest package:test_api.
package:test_api.Update the github reporter to output the platform in the test names when multiple platforms are used.
spawnHybridUri support for package: uris.Re-publish changes from 0.4.12.
Remove wait for VM platform isolate exits.
dart2jsPath configuration support.packages.3.3.0, and allow version 4.x.Update vm_service constraint to >=6.0.0 <9.0.0.
vm_service constraint to >=6.0.0 <9.0.0.Update analyzer constraint to >=2.14.0 <3.0.0.
analyzer constraint to >=2.14.0 <3.0.0.--ignore-timeouts command line flag, which disables all timeouts
for all tests.ext.test.pauseAfterTests which
configures VM platform tests to pause for debugging after tests are run,
before the test isolates are killed.Wait for paused VM platform isolates before shutdown.
Add logging about enabling stack trace chaining to the compact and expanded reporters (moved from the invoker). This will now only be logged once afte
Fix parsing of file paths into a URI on windows.
Support query parameters name, full-name, line, and col on test paths, which will apply the filters to only those test suites.
name, full-name, line, and col on test paths,
which will apply the filters to only those test suites.
--name) are also still respected and must match.line and col will match if any frame from the test trace matches
(the test trace is the current stack trace where test is invoked).test_api.* Use newer analyzer APIs.
* Support the latest test_api.
test_api.Add an option to disallow duplicate test or group names in directRunTests.
directRunTests.Re-use the cached dill file from previous runs on subsequent runs.
Use the latest package:matcher.
package:matcher.BREAKING: All parameters to the SuiteConfiguration and Configuration constructors are now required. Some specialized constructors have been added for
SuiteConfiguration and Configuration
constructors are now required. Some specialized constructors have been added
for the common cases where a subset are intended to be provided.FORCE_TEST_EXIT.analyzer constraint to >=1.0.0 <3.0.0.Fix a bug where a tag level configuration would cause test suites with that tag to ignore the --test-randomize-ordering-seed argument.
--test-randomize-ordering-seed argument.Add time field to the json reporters allSuites event type so that all event types can be unified.
time field to the json reporters allSuites event type so that all
event types can be unified.Restore the Configuration.loadFromString constructor.
Configuration.loadFromString constructor.Give a better error when printOnFailure is called from outside a test zone.
printOnFailure is called from outside a test
zone.Your coding agent can read these notes before it upgrades. Set up the MCP server →