Skip to content
Snippets Groups Projects
CHANGELOG.md 34 KiB
Newer Older
## 1.11.2-dev

* Bump minimum SDK to `2.4.0` for safer usage of for-loop elements.
* Deprecate `PhantomJS` and provide warning when used. Support for `PhantomJS`
  will be removed in version `2.0.0`.
## 1.11.1

* Allow `test_api` `0.2.13` to work around a bug in the SDK version `2.3.0`.

* Add `file_reporters` configuration option and `--file-reporter` CLI option to
  allow specifying a separate reporter that writes to a file instead of stdout.
## 1.10.0

* Add `customHtmlTemplateFile` configuration option to allow sharing an
  html template between tests
* Depend on the latest `package:test_core`.
* Depend on the latest `package:test_api`.
## 1.9.4

* Extend the timeout for synthetic tests, e.g. `tearDownAll`.
* Depend on the latest `package:test_core`.
* Depend on the latest `package:test_api`.

## 1.9.3

* Depend on the latest `package:test_core`.
* Support the latest `package:analyzer`.
Nate Bosch's avatar
Nate Bosch committed
* Update to latest `package:matcher`. Improves output for instances of private
  classes.
## 1.9.2

* Depend on the latest `package:test_api` and `package:test_core`.
* While using `solo` tests that are not run will now be reported as skipped.

## 1.9.1

* Depend on latest `test_core`.

## 1.9.0

* Implement code coverage collection for VM based tests

## 1.8.0

* Expose the previously hidden sharding arguments
  * `--total-shards` specifies how many shards the suite should
    be split into
  * `--shard-index` specifies which shard should be run

## 1.7.0

* Add a `--debug` flag for running the VM/Chrome in debug mode.

## 1.6.11

* Depend on the latest `test_core` and `test_api`.

## 1.6.10

* Depend on the latest `test_core`.

## 1.6.9

* Add `--disable-dev-shm-usage` to the default Chrome flags.

## 1.6.8

* Depend on the latest `test_core` and `test_api`.

* Allow `analyzer` version `0.38.x`.

## 1.6.6

* Pass `--server-mode` to dart2js instead of `--categories=Server` to fix a
  warning about the flag deprecation.
* Drop dependency on `pub_semver`.
* Fix issue with the latest `Utf8Decoder` and the `node` platform.
## 1.6.5

* Depend on the latest `test_core`.
* Depend on the latest `package:analyzer`.
Gary Roumanis's avatar
Gary Roumanis committed
## 1.6.4

* Don't swallow exceptions from callbacks in `expectAsync*`.
Gary Roumanis's avatar
Gary Roumanis committed
* Internal cleanup - fix lints.

## 1.6.3

* Depend on latests `package:test_core`.
  * This fixes an issue where non-completed tests were considered passing.

## 1.6.2

* Avoid `dart:isolate` imports on code loaded in tests.

## 1.6.1

* Allow `stream_channel` version `2.0.0`.


* Allow `analyzer` version `0.36.x`.
* Matcher changes:
  * Add `isA()` to create `TypeMatcher` instances in a more fluent way.
  * Add `isCastError`.
  * **Potentially breaking bug fix**. Ordering matchers no longer treat objects
    with a partial ordering (such as NaN for double values) as if they had a
    complete ordering. For instance `greaterThan` now compares with the `>`
    operator rather not `<` and not `=`. This could cause tests which relied on
    this bug to start failing.
## 1.5.3

* Allow `analyzer` version `0.35.x`.

## 1.5.2

* Require Dart SDK `>=2.1.0`.
Gary Roumanis's avatar
Gary Roumanis committed
* Depend on latest `test_core` and `test_api`.
## 1.5.1

* Depend on latest `test_core` and `test_api`.

* Depend on `package:test_core` for core functionality.
Gary Roumanis's avatar
Gary Roumanis committed
## 1.4.0

* Depend on `package:test_api` for core functionality.
## 1.3.4

* Allow remote_listener to be closed and sent an event on close.

* Add conditional imports so that `dart:io` is not imported from the main
  `test.dart` entrypoint unless it is available.
* Fix an issue with dartdevc in precompiled mode and the json reporter.
* Fix an issue parsing test metadata annotations without explicit `const`.
## 1.3.2

* Widen the constraints on the analyzer package.

## 1.3.1

* Handle parsing annotations which omit `const` on collection literals.
* Fix an issue where `root_line`, `root_column`, and `root_url` in the
  JSON reported may not be populated correctly on Windows.
* Removed requirement for the test/pub_serve transformer in --pub-serve mode.
## 1.3.0

* When using `--precompiled`, the test runner now allows symlinks to reach
  outside the precompiled directory. This allows more efficient creation of
  precompiled directories (using symlinks instead of copies).
* Updated max sdk range to `<3.0.0`.
## 1.2.0

* Added support for using precompiled kernel files when running vm tests.
  * When using the `--precompiled` flag we will now first check for a
    `<original-test-path>.vm_test.vm.app.dill` file, and if present load that
    directly in the isolate. Otherwise the `<original-test-path>.vm_test.dart`
    file will be used.

## 1.1.0

* Added a new `pid` field to the StartEvent in the json runner containing the
  pid of the VM process running the tests.

Gary Roumanis's avatar
Gary Roumanis committed
## 1.0.0

* No change from `0.12.42`. We are simply signalling to users that this is a
  well supported package and is the prefered way to write Dart tests.

## 0.12.42

* Add support for `solo` test and group. When the argument is `true` only tests
  and groups marked as solo will be run. It is still recommended that users
  instead filter their tests by using the runner argument `-n`.

* Updated exported `package:matcher` to `0.12.3` which includes these updates:

  - Many improvements to `TypeMatcher`
    - Can now be used directly as `const TypeMatcher<MyType>()`.
    - Added a type parameter to specify the target `Type`.
Loading
Loading full blame...