Skip to content

Releases: dart-lang/test

test-v1.4.0

30 Oct 23:47
12ab734

Choose a tag to compare

Prep for package:test release (#952)

1.3.4

02 Oct 17:22
6c6f439

Choose a tag to compare

  • [internal] Allow remote_listener to be closed and sent an event on close.

1.0.0

18 Jun 17:50
44e87cd

Choose a tag to compare

  • No change from 0.12.42. We are simply signaling to users that this is a
    well supported package and is the preferred way to write Dart tests.

0.12.42

15 Jun 19:05
7ae38f5

Choose a tag to compare

  • 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.

        • Made the name constructor parameter optional and marked it deprecated.
          It's redundant to the type parameter.
      • Migrated all isType matchers to TypeMatcher.

      • Added a having function that allows chained validations of specific
        features of the target type.

        /// Validates that the object is a [RangeError] with a message containing
        /// the string 'details' and `start` and `end` properties that are `null`.
        final _rangeMatcher = isRangeError
           .having((e) => e.message, 'message', contains('details'))
           .having((e) => e.start, 'start', isNull)
           .having((e) => e.end, 'end', isNull);
    • Deprecated the isInstanceOf class. Use TypeMatcher instead.

    • Improved the output of Matcher instances that fail due to type errors.

0.12.41

14 Jun 18:14
f9fc83b

Choose a tag to compare

  • Add support for debugging VM tests.
  • Tweak default reporter and color logic again so that they are always enabled on all non-windows platforms.

0.12.32+2

20 Mar 01:04
362f98d

Choose a tag to compare

  • Work around an SDK bug that caused timeouts in asynchronous code.

0.12.30+4

23 Feb 18:29
8c0926c

Choose a tag to compare

  • No longer run with headless mode as there are issues with the browser.
    The headless option will be added in the future when issues are
    resolved.

0.12.30+1

22 Jan 18:55
269ae63

Choose a tag to compare

  • Internal changes.

0.12.26+1

01 Nov 23:29
5652c6d

Choose a tag to compare

  • Fix lower bound on package stack_trace. Now 1.6.0.
  • Manually close browser process streams to prevent test hangs.

0.12.24+6

19 Sep 18:26

Choose a tag to compare

  • Small refactoring to make the package compatible with strong-mode compliant Zone API. No user-visible change.