13.x
.Compiler
argument to currentPlatform
.package:vm_service
12.0.0
--fail-fast
.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.0.5.2
of packge:test_api
.--enable-experiment=native_assets
is passed.--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
.vm_service
constraint to >=6.0.0 <12.0.0
.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
.includeTags
and excludeTags
from SuiteConfiguration
to Configuration
.package:test_api
.CompilerPool
to be abstract, add wasm compiler pool.package:matcher
version 0.12.13
.package:test_api
.package:analyzer
.package:test_api
.package:frontend_server_client
.package:test_api
.spawnHybridUri
support for package:
uris.dart2jsPath
configuration support.packages
.3.3.0
, and allow version 4.x
.vm_service
constraint to >=6.0.0 <9.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.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
.test_api
.directRunTests
.package:matcher
.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
.--test-randomize-ordering-seed
argument.time
field to the json reporters allSuites
event type so that all event types can be unified.Configuration.loadFromString
constructor.printOnFailure
is called from outside a test zone.7.0.0
).scaffolding.dart
to allow importing a subset of the normal surface area.suiteChannel
. This is now handled by an additional argument to the beforeLoad
callback in serializeSuite
.--use-data-isolate-strategy
flag if you run into issues, but please also file a bug.hybridMain
functions with an incompatible StreamChannel parameter type.message
argument to PlatformPlugin.load
to Map<String, Object?>
. In an upcoming release this will be required as the type for this argument when passed through to deserializeSuite
.spawnHybridCode
to default to the current packages language version.test_api
.stdin
during shutdown.1.0.0
.test_api
for stable null safety.6.x.x
).0.15.x
).2.x
).2.x
).spawnHybridUri
on windows.package:yaml
version 3.x.x
.package:analyzer
version 0.41.x
.spawnHybridUri
to respect language versioning of the spawned uri.>=2.12.0-0 <3.0.0
based on beta release guidelines.directRunTests
, directRunSingle
, and enumerateTestCases
APIs to enable test runners written around a single executable that can report and run any single test case.2.10
stable and 2.11.0-dev
SDKs.src/platform.dart
library to consolidate the necessary imports required to write a custom platform.SILENT_OBSERVATORY
environment variable to run with debugging and the JSON reporter.package:vm_service
.--help
output.0.40.x
of analyzer
.spawnHybridUri
on windows.package:analyzer
version 0.41.x
.spawnHybridUri
to respect language versioning of the spawned uri.matcher
version 0.12.9
.unawaited
from package:meta
.RunnerSuite
rather than throw an error.languageVersionComment
in the Metadata
returned from parseMetadata
.package:coverage
.Configuration
class and related classes through backend.dart
.Add additional information to an exception when we end up with a null RunnerSuite
.
Update vm bootstrapping logic to ensure the bootstrap library has the same language version as the test.
Populate languageVersionComment
in the Metadata
returned from parseMetadata
.
package:vm_service
.package_resolver
dependency.package:vm_service
.spawnHybrid
APIs.2.4.0
for safer usage of for-loop elements.PhantomJS
and provide warning when used. Support for PhantomJS
will be removed in version 2.0.0
.deserializeSuite
now takes an optional gatherCoverage
callback.compiling
message in precompiled mode so it says loading
instead, which is more accurate.-j1
only a single test will ever be loaded at a time.-j1
.spawnHybridUri
.test_api
0.2.13
to work around a bug in the SDK version 2.3.0
.file_reporters
configuration option and --file-reporter
CLI option to allow specifying a separate reporter that writes to a file.customHtmlTemplateFile
configuration option to allow sharing an html template between teststest_api
.StringSink
argument to reporters to prepare for reporting to a file.test_api
.package:analyzer
.package:matcher
. Improves output for instances of private classes.package:test_api
.engine.dart
. This ensures the engine is platform agnostic.--debug
argument for running the VM/Chrome in debug mode.test_api
.package:vm_service
.package:test_core
as deprecated to prevent accidental use.test_api
.vm_service
instead of vm_service_lib
.pub_semver
.analyzer
version 0.38.x
.vm_service_lib
instead of vm_service_client
.package:analyzer
.test_api
.compact
and expanded
reporters to display non-completed tests.dart:isolate
imports on code loaded in tests.parseMetadata
function publicly through a new backend.dart
import, as well as re-exporting package:test_api/backend.dart
.IsolateChannel
for forwards compatibility with 2.0.0
.analyzer
version 0.36.x
.0.12.5
.analyzer
version 0.35.x
.>=2.1.0
.test_api
.remote_listener.dart
and suite_channel_manager.dart
from runner and depend on them from test_api
.test_core
. Provides the basic API for writing and running tests on the VM.