test_core 0.3.6
test_core: ^0.3.6 copied to clipboard
A basic library for writing tests and running them on the VM.
0.3.6 #
- Expose the
Configurationclass and related classes throughbackend.dart.
0.3.5 #
- Add additional information to an exception when we end up with a null
RunnerSuite.
0.3.4 #
- Fix error messages for incorrect string literals in test annotations.
0.3.3 #
- Support latest
package:vm_service.
0.3.2 #
- Drop the
package_resolverdependency.
0.3.1 #
- Support latest
package:vm_service. - Enable asserts in code running through
spawnHybridAPIs. - Exit with a non-zero code if no tests were ran, whether due to skips or having no tests defined.
0.3.0 #
- Bump minimum SDK to
2.4.0for safer usage of for-loop elements. - Deprecate
PhantomJSand provide warning when used. Support forPhantomJSwill be removed in version2.0.0. - Differentiate between test-randomize-ordering-seed not set and 0 being chosen as the random seed.
deserializeSuitenow takes an optionalgatherCoveragecallback.- Support retrying of entire test suites when they fail to load.
- Fix the
compilingmessage in precompiled mode so it saysloadinginstead, which is more accurate. - Change the behavior of the concurrency setting so that loading and running
don't have separate pools.
- The loading and running of a test are now done with the same resource, and
the concurrency setting uniformly affects each. With
-j1only a single test will ever be loaded at a time. - Previously the loading pool was 2x larger than the actual concurrency
setting which could cause flaky tests due to tests being loaded while
other tests were running, even with
-j1.
- The loading and running of a test are now done with the same resource, and
the concurrency setting uniformly affects each. With
- Avoid printing uncaught errors within
spawnHybridUri.
0.2.18 #
- Allow
test_api0.2.13to work around a bug in the SDK version2.3.0.
0.2.17 #
- Add
file_reportersconfiguration option and--file-reporterCLI option to allow specifying a separate reporter that writes to a file instead of stdout.
0.2.16 #
- Internal cleanup.
- Add
customHtmlTemplateFileconfiguration option to allow sharing an html template between tests - Depend on the latest
test_api.
0.2.15 #
- Add a
StringSinkargument to reporters to prepare for reporting to a file. - Add --test-randomize-ordering-seed` argument to randomize test execution order based on a provided seed
- Depend on the latest
test_api.
0.2.14 #
- Support the latest
package:analyzer. - Update to latest
package:matcher. Improves output for instances of private classes.
0.2.13 #
- Depend on the latest
package:test_api.
0.2.12 #
- Conditionally import coverage logic in
engine.dart. This ensures the engine is platform agnostic.
0.2.11 #
- Implement code coverage gathering for VM tests.
0.2.10 #
- Add a
--debugargument for running the VM/Chrome in debug mode.
0.2.9+2 #
- Depend on the latest
test_api.
0.2.9+1 #
- Allow the latest
package:vm_service.
0.2.9 #
- Mark
package:test_coreas deprecated to prevent accidental use. - Depend on the latest
test_api.
0.2.8 #
- Depend on
vm_serviceinstead ofvm_service_lib. - Drop dependency on
pub_semver. - Allow
analyzerversion0.38.x.
0.2.7 #
- Depend on
vm_service_libinstead ofvm_service_client. - Depend on latest
package:analyzer.
0.2.6 #
- Internal cleanup - fix lints.
- Use the latest
test_api.
0.2.5 #
- Fix an issue where non-completed tests were considered passing.
- Updated
compactandexpandedreporters to display non-completed tests.
0.2.4 #
- Avoid
dart:isolateimports on code loaded in tests. - Expose the
parseMetadatafunction publicly through a newbackend.dartimport, as well as re-exportingpackage:test_api/backend.dart.
0.2.3 #
- Switch import for
IsolateChannelfor forwards compatibility with2.0.0.
0.2.2 #
- Allow
analyzerversion0.36.x. - Update to matcher version
0.12.5.
0.2.1+1 #
- Allow
analyzerversion0.35.x.
0.2.1 #
- Require Dart SDK
>=2.1.0. - Require latest
test_api.
0.2.0 #
- Remove
remote_listener.dartandsuite_channel_manager.dartfrom runner and depend on them fromtest_api.
0.1.0 #
- Initial release of
test_core. Provides the basic API for writing and running tests on the VM.