test_api 0.2.16
test_api: ^0.2.16 copied to clipboard
A library for writing Dart tests.
0.2.16 #
- Deprecate
LiveTestController.liveTest, theLiveTestControllerinstance now implementsLiveTestand can be used directly.
0.2.15 #
- Cancel any StreamQueue that is created as a part of a stream matcher once it
is done matching.
- This fixes a bug where using a matcher on a custom stream controller and
then awaiting the
close()method on that controller would hang.
- This fixes a bug where using a matcher on a custom stream controller and
then awaiting the
- Avoid causing the test runner to hang if there is a timeout during a
tearDowncallback following a failing test case.
0.2.14 #
- Bump minimum SDK to
2.4.0for safer usage of for-loop elements.
0.2.13 #
- Work around a bug in the
2.3.0SDK by avoiding for-loop elements at the top level.
0.2.12 #
- Link to docs on setting timeout when a test times out with the default duration.
- No longer directly depend on
package:pedantic.
0.2.11 #
- Extend the timeout for synthetic tests, e.g.
tearDownAll.
0.2.10 #
- Update to latest
package:matcher. Improves output for instances of private classes.
0.2.9 #
- Treat non-solo tests as skipped so they are properly reported.
0.2.8 #
- Remove logic which accounted for a race condition in state change. The logic
was required because
package:sseused to not guarantee order. This is no longer the case.
0.2.7 #
- Prepare for upcoming
Stream<List<int>>changes in the Dart SDK. - Mark
package:test_apias deprecated to prevent accidental use.
0.2.6 #
- Don't swallow exceptions from callbacks in
expectAsync*. - Internal cleanup - fix lints.
- Fixed a race condition that caused tests to occasionally fail during
tearDownAllwith the message(tearDownAll) - did not complete [E].
0.2.5 #
- Expose the
Metadata,PlatformSelector,Runtime, andSuitePlatformclasses publicly through a newbackend.dartimport.
0.2.4 #
- Allow
stream_channelversion2.0.0.
0.2.3 #
- Update to matcher version
0.12.5.
0.2.2 #
- Require Dart SDK
>=2.1.0.
0.2.1 #
- Add
remote_listener.dartandsuite_channel_manager.dart.
0.2.0 #
- Remove "runner" extensions.
0.1.1 #
- Update
stack_trace_formatterto foldtest_apiframes by default.
0.1.0 #
- Initial release of
test_api. Provides the basic API for writing tests and touch points for implementing a custom test runner.