Releases: dart-lang/test
Releases · dart-lang/test
test_api_v0.2.2-test_core_v0.2.1-test_v1.5.2
Prep for release (#977) * prep for release
test_api_v0.2.1-test_core_v0.2.0-test_v1.5.1
Let test_core depend on latest test_api (#960)
test_api_v0.2.0-test_core_v0.1.0-test_v1.5.0
update api dep (#957)
test_api-v0.1.1
Prep for release (#950)
test-v1.4.0
Prep for package:test release (#952)
1.3.4
1.0.0
0.12.42
-
Add support for
solo
test and group. When the argument istrue
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
to0.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.
- Made the
-
Migrated all
isType
matchers toTypeMatcher
. -
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. UseTypeMatcher
instead. -
Improved the output of
Matcher
instances that fail due to type errors.
-