PackageTrack
Sign in Get early access

test_core

A basic library for writing tests and running them on the VM.

0.6.19 10M downloads/mo #23 most downloaded on pub.dev dart-lang/test

What this package is like to depend on

Last release 1 months ago

27 Jun 2026

Release timing varies

gaps range from 8 days to 5 months

Nearly every release is documented

notes for 109 of 111 stable releases

1 version withdrawn

withdrawn after publishing

8 years old

128 releases · first in 2018

7 releases in the last 12 months

see the full history below

Release timeline

128 releases · Nov 2018 to Jun 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 128
  1. 0.6.19 27 Jun 2026
    Release notes
    • Add support for -c cli (the native CLI compiler) to the vm platform.
    • Support using the OS platform selector to configure browser tests.
    • Use a DevTools URL instead of a defunct observatory URL.
    • Allow package_config 3.x.x.
    • Require analyzer: '>=13.0.0 <15.0.0'
    • Update parse_metadata.dart to be compatible with analyzer >=13.0.0 <15.0.0.
    • Use the compact or failures-only reporters by default for tests run directly
      instead of through the test runner.
    Open source →
    Release notes
    • Add support for -c cli (the native CLI compiler) to the vm platform.
    • Support using the OS platform selector to configure browser tests.
    • Use a DevTools URL instead of a defunct observatory URL.
    • Allow package_config 3.x.x.
    • Require analyzer: '>=13.0.0 <15.0.0'
    • Update parse_metadata.dart to be compatible with analyzer >=13.0.0 <15.0.0.
    • Use the compact or failures-only reporters by default for tests run directly instead of through the test runner.
    Open source →
  2. 0.6.18 27 Apr 2026
    Release notes
    • Ignore an error locating the SDK directory on platforms where the
      resolvedExecutable is unexpectedly null.
    • Respect NO_COLOR, CLICOLOR, FORCE_COLOR, CLICOLOR_FORCE, and TERM=dumb
      environment variables for color output detection.
    • Fix a bug where -c exe tests would hang on exit on windows.
    • Update parse_metadata.dart to be compatible with analyzer >=8.0.0 <14.0.0.
    • GithubReporter:
      • Group contiguous passing and skipped tests into collapsible groups to
        reduce log noise in GitHub Actions.
      • Updated skipped icon to ⏭️.
    Open source →
    Release notes
    • Ignore an error locating the SDK directory on platforms where the resolvedExecutable is unexpectedly null.
    • Respect NO_COLOR, CLICOLOR, FORCE_COLOR, CLICOLOR_FORCE, and TERM=dumb environment variables for color output detection.
    • Fix a bug where -c exe tests would hang on exit on windows.
    • Update parse_metadata.dart to be compatible with analyzer >=8.0.0 <14.0.0.
    • GithubReporter:
      • Group contiguous passing and skipped tests into collapsible groups to reduce log noise in GitHub Actions.
      • Updated skipped icon to ⏭️.
    Open source →
  3. 0.6.17 18 Mar 2026
    Release notes
    • Print a summary of failed tests at the end of the expanded reporter output.
    • Add vm-asan, vm-msan, and vm-tsan runtimes to run tests on the standalone
      Dart VM under Address Sanitizer, Memory Sanitizer or Thread Sanitizer. This is
      useful for finding issues when using foreign libraries through dart:ffi, such
      as use-after-free, use of initialized memory and data races, or for detecting
      data races in Dart code using shared fields.
    • Change return type on the body callback argument to group to void from
      dynamic. This may surface cases where the group callback was erroneously
      returning an ignored value.
    • Fix a hang when a test run with --compiler exe crashes.
    • Require analyzer: '>=8.0.0 <13.0.0'
    Open source →
    Release notes
    • Print a summary of failed tests at the end of the expanded reporter output.
    • Add vm-asan, vm-msan, and vm-tsan runtimes to run tests on the standalone Dart VM under Address Sanitizer, Memory Sanitizer or Thread Sanitizer. This is useful for finding issues when using foreign libraries through dart:ffi, such as use-after-free, use of initialized memory and data races, or for detecting data races in Dart code using shared fields.
    • Change return type on the body callback argument to group to void from dynamic. This may surface cases where the group callback was erroneously returning an ignored value.
    • Fix a hang when a test run with --compiler exe crashes.
    • Require analyzer: '>=8.0.0 <13.0.0'
    Open source →
  4. 0.6.16 27 Feb 2026
    Release notes
    • Fix coverage reporting to report all coverage when using JSON workflow.
    • Add SuiteConfiguration.suiteLoadTimeout to configure the timeout for loading a test suite.
    • Removed hard-coded timeout of 12m for loading a test suite and set default to none.
    • Bump test_api to 0.7.10
    • Print a summary of failed tests at the end of the expanded reporter output.
    Open source →
  5. 0.6.15 07 Jan 2026
    Release notes
    • Add --coverage-package flag, which filters the coverage report to specific packages using RegExps.
    • Require a function definition named main directly in a test suite and provide a more direct error message than a failing compiler output.
    • Suppress skip reason messages in the compact and failures-only reporters.
    • Improve fidelity of checks for using ascii characters. Check the SDK reported support on windows, and assume ascii support for all terminals on linux since the SDK reported support is much more narrow.
    • Fix default coverage filter when running in a workspace package. Default filter now includes all the workspace's package.
    • Add support for reading test package version within pub workspaces.
    • Allow analyzer major version 10.
    Open source →
  6. 0.6.14 20 Nov 2025
    Release notes
    • Fix type cast when parsing a null hit map.
    Open source →
  7. 0.6.13 11 Nov 2025
    Release notes
    • Require Dart 3.7
    • Add --coverage-path and --branch-coverage options to dart test.
    • Allow analyzer major version 9.
    Open source →
  8. 0.6.12 22 Jul 2025
    Release notes
    • Expand pub constraint to allow the latest analyzer.
    Open source →
  9. 0.6.11 21 May 2025
    Release notes
    • Graduate native assets from experiment to preview.
    Open source →
  10. 0.6.10 19 May 2025
    Release notes
    • Set a debug name for test isolates.
    • Fix an assertion failure when using setUpAll or tearDownAll and running with asserts enabled.
    Open source →
  11. 0.6.9 12 May 2025
    Release notes
    • Add support for native assets for 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.
    Open source →
  12. 0.6.8 04 Dec 2024
    Release notes
    • Fix hang when running multiple precompiled browser tests.
    Open source →
  13. 0.6.7 02 Dec 2024
    Release notes
    • Update the package:vm_service constraint to allow version 15.x.
    Open source →
  14. 0.6.6 26 Nov 2024
    Release notes
    • Allow analyzer: '>=6.0.0 <8.0.0'
    • Fix dart2wasm tests on windows.
    • Increase SDK constraint to ^3.5.0.
    • Allow passing additional arguments to dart compile wasm.
    Open source →
  15. 0.6.5 03 Jul 2024
    Release notes
    • Increase SDK constraint to ^3.4.0.
    • Ensure we don't create files ending in a ., this breaks windows.
    Open source →
  16. 0.6.4 05 Jun 2024
    Release notes
    • Enable asserts for dart2wasm tests.
    Open source →
  17. 0.6.3 02 Jun 2024
    Release notes
    • Update min SDK constraint to 3.2.0.
    • Fix testing with dart2wasm - use dart compile wasm instead of depending on SDK internals
    Open source →
  18. 0.6.2 17 Apr 2024
    Release notes
    • Add @doNotSubmit to more declarations of the solo parameter.
    Open source →
  19. 0.6.1 09 Apr 2024
    Release notes
    • Handle missing package configs.
    • Document the silent reporter in CLI help output.
    • Support enabling experiments with the dart2wasm compiler.
    Open source →
  20. 0.6.0 13 Dec 2023
    Release notes
    • Handle paths with leading / when spawning test isolates.
    • Added dart2wasm as a supported compiler for the chrome runtime.
    • BREAKING: Removed the experimentalChromeWasm runtime.
    • BREAKING: Removed Runtime.isJS and Runtime.isWasm, as this is now based on the compiler and not the runtime.
    • BREAKING: Removed Configuration.pubServeUrl and support for it.
    • Fix running of tests defined under lib/ with relative imports to other libraries in the package.
    • Update the package:frontend_server_client constraint to allow version 4.0.0.
    • Update the package:vm_service constraint to allow version 14.x.
    Open source →
  21. 0.5.9 25 Oct 2023
    Release notes
    • Update the vm_service constraint to allow version 13.x.
    Open source →
  22. 0.5.8 13 Oct 2023
    Release notes
    • Move scaffolding definitions to a non-deprecated library.
    • Allow omitting the Compiler argument to currentPlatform.
    Open source →
  23. 0.5.7 02 Oct 2023
    Release notes
    • Pass --disable-program-split to dart2js to fix tests which use deferred loading.
    • Add a 'silent' reporter option. Keep it hidden in the CLI args help since it is not useful in the general case, but can be useful for tests of the test runner.
    • Update to package:vm_service 12.0.0
    Open source →
  24. 0.5.6 08 Aug 2023
    Release notes
    • Add support for discontinuing after the first failing test with --fail-fast.
    Open source →
  25. 0.5.5 31 Jul 2023
    Release notes
    • Change "compiling <path>" to "loading <path>" message in all cases. Surface the "loading" messages in the situations where previously only "compiling" message would be used.
    Open source →
  26. 0.5.4 28 Jun 2023
    Release notes
    • Drop support for null unsafe Dart, bump SDK constraint to 3.0.0.
    • Add final modifier on some implementation classes: Configuration, CustomRuntime,RuntimeSettings, SuiteConfiguration.
    • Fix the root_ fields in the JSON reporter when running a test on Windows with an absolute path.
    • Allow the latest analyzer (6.x.x).
    Open source →
  27. 0.5.3 16 May 2023
    Release notes
    • Fix compatibility with wasm number semantics.
    Open source →
  28. 0.5.2 19 Apr 2023
    Release notes
    • Use the version 0.5.2 of packge:test_api.
    Open source →
  29. 0.5.1 31 Mar 2023
    Release notes
    • Start adding experimental support for native_assets.yaml, when --enable-experiment=native_assets is passed.
    Open source →
  30. 0.5.0 23 Mar 2023
    Release notes
    • Support the --compiler flag, which can be used to configure which compiler to use.
      • To specify a compiler by platform, the argument supports platform selectors through this syntax [<platform>:]<compiler>. For example the command line argument --compiler vm:source would run all vm tests from source instead of compiling to kernel first.
      • If no given compiler is compatible for a platform, it will use its default compiler instead.
    • Add support for -c exe (the native executable compiler) to the vm platform.
    • Add Compiler class, exposed through backend.dart.
    • Support compiler identifiers in platform selectors.
    • List the supported compilers for each platform in the usage text.
    • Update all reporters to print the compiler along with the platform name when configured to print the platform. Extend the logic for printing platofrm information to do so if any compilers are explicitly configured.
    • 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 issue.
    • BREAKING Add required defaultCompiler and supportedCompilers fields to Runtime.
    • BREAKING Add required compiler field to SuitePlatform.
    • BREAKING Add required compilerSelections argument to some Configuration and SuiteConfiguration constructors.
    • BREAKING Custom platform plugins need to respect the compiler option given through the SuitePlatform argument to PlatformPlugin.load. This is not statically breaking but it will be confusing for users if it isn't supported.
    • BREAKING Remove useDataIsolateStrategy field from Configuration.
    • BREAKING Stop exporting APIs from package:matcher/expect.dart.
    Open source →
  31. 0.4.24 09 Feb 2023
    Release notes
    • Fix running paths by absolute path (with drive letter) on windows.
    Open source →
  32. 0.4.23 08 Feb 2023
    Release notes
    • Avoid empty expandable groups for tests without extra output in Github reporter.
    • Support running tests by absolute file uri.
    • Update vm_service constraint to >=6.0.0 <12.0.0.
    Open source →
  33. 0.4.22 11 Jan 2023
    Release notes
    • Don't run tearDown until the test body and outstanding work is complete, even if the test has already failed.
    • Update vm_service constraint to >=6.0.0 <11.0.0.
    Open source →
  34. 0.4.21 08 Dec 2022
    Release notes
    • Move includeTags and excludeTags from SuiteConfiguration to Configuration.
    • Merge command lines args repeating the same test path to run the suite one time with all the test cases across the different arguments.
    • Fix VM tests which run after some test has changed the working directory. There are still issues with browser tests after changing directory.
    Open source →
  35. 0.4.20 01 Nov 2022
    Release notes
    • Fix an issue with the github reporter where tests that fail asynchronously after they've completed would show up as succeeded tests.
    • Support the latest package:test_api.
    • Refactor CompilerPool to be abstract, add wasm compiler pool.
    Open source →
  36. 0.4.19 26 Oct 2022
    Release notes
    • Support package:matcher version 0.12.13.
    • Require Dart SDK version 2.18.
    Open source →
  37. 0.4.18 12 Sep 2022
    Release notes
    • Support the latest package:test_api.
    • Support the latest package:analyzer.
    Open source →
  38. 0.4.17 19 Aug 2022
    Release notes
    • Support the latest package:test_api.
    • Support the latest package:frontend_server_client.
    Open source →
  39. 0.4.16 06 Jul 2022
    Release notes
    • Make the labels for test loading more readable in the compact and expanded reporters, use gray instead of black.
    • Print a command to re-run the failed test after each failure in the compact reporter.
    • Fix the package config path used when running pre-compiled vm tests.
    Open source →
  40. 0.4.15 22 Jun 2022
    Release notes
    • Support the latest package:test_api.
    Open source →
  41. 0.4.14 15 Jun 2022
    Release notes
    • Update the github reporter to output the platform in the test names when multiple platforms are used.
    • Fix spawnHybridUri support for package: uris.
    Open source →
  42. 0.4.13 14 Apr 2022
    Release notes
    • Re-publish changes from 0.4.12.
    • Stop relying on setUpAllName and tearDownAllName constants from test_api.
    Open source →
  43. 0.4.12 14 Apr 2022 withdrawn
    Release notes
    • Remove wait for VM platform isolate exits.
    • Drop dart2jsPath configuration support.
    • Allow loading tests under a path with the directory named packages.
    • Require analyzer version 3.3.0, and allow version 4.x.
    Open source →
  44. 0.4.11 20 Dec 2021
    Release notes
    • Update vm_service constraint to >=6.0.0 <9.0.0.
    Open source →
  45. 0.4.10 16 Dec 2021
    Release notes
    • Update analyzer constraint to >=2.14.0 <3.0.0.
    • Add an --ignore-timeouts command line flag, which disables all timeouts for all tests.
    • Experimental: Add a VM service extension ext.test.pauseAfterTests which configures VM platform tests to pause for debugging after tests are run, before the test isolates are killed.
    Open source →
  46. 0.4.9 24 Nov 2021
    Release notes
    • Wait for paused VM platform isolates before shutdown.
    Open source →
  47. 0.4.8 02 Nov 2021
    Release notes
    • Add logging about enabling stack trace chaining to the compact and expanded reporters (moved from the invoker). This will now only be logged once after all tests have ran.
    Open source →
  48. 0.4.7 21 Oct 2021
    Release notes
    • Fix parsing of file paths into a URI on windows.
    Open source →
  49. 0.4.6 20 Oct 2021
    Release notes
    • Support query parameters name, full-name, line, and col on test paths, which will apply the filters to only those test suites.
      • All specified filters must match for a test to run.
      • Global filters (ie: --name) are also still respected and must match.
      • The 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).
    • Support the latest test_api.
    Open source →
  50. 0.4.5 01 Oct 2021
    Release notes
    • Use newer analyzer APIs.
    Open source →
  51. 0.4.4 01 Oct 2021
    Release notes
    • Support the latest test_api.
    Open source →
  52. 0.4.3 30 Sep 2021
    Release notes
    • Add an option to disallow duplicate test or group names in directRunTests.
    • Add configuration to disallow duplicate test and group names by default. See the docs for more information.
    • Remove dependency on pedantic.
    Open source →
  53. 0.4.2 31 Aug 2021
    Release notes
    • Re-use the cached dill file from previous runs on subsequent runs.
    Open source →
  54. 0.4.1 16 Aug 2021
    Release notes
    • Use the latest package:matcher.
    Open source →
  55. 0.4.0 13 Jul 2021
    Release notes
    • BREAKING: All parameters to the 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.
    • BREAKING: Remove support for FORCE_TEST_EXIT.
    • Report incomplete tests as errors in the JSON reporter when the run is canceled early.
    • Don't log the --test-randomization-ordering-seed if using the json reporter.
    • Add a new exit code, 79, which is used when no tests were ran.
      • Previously you would have gotten either exit code 1 or 65 (65 if you had provided a test name regex).
    • When no tests were ran but tags were provided, list the tag configuration.
    • Update analyzer constraint to >=1.0.0 <3.0.0.
    Open source →
  56. 0.3.29 23 Jun 2021
    Release notes
    • Fix a bug where a tag level configuration would cause test suites with that tag to ignore the --test-randomize-ordering-seed argument.
    Open source →
  57. 0.3.28 15 Jun 2021
    Release notes
    • Add time field to the json reporters allSuites event type so that all event types can be unified.
    Open source →
  58. 0.3.27 09 Jun 2021
    Release notes
    • Restore the Configuration.loadFromString constructor.
    Open source →
  59. 0.3.26 09 Jun 2021
    Release notes
    • Give a better error when printOnFailure is called from outside a test zone.
    Open source →
  60. 0.3.25 26 May 2021
    Release notes
    • Support the latest vm_service release (7.0.0).
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive