test
version 0.12.19
.test
version 0.12.18
.setUpAll()
and tearDownAll()
work with normal setUp()
and tearDown()
calls.setUpAll()
and tearDownAll()
.test
version 0.12.17
.test
version 0.12.16
.test
version 0.12.15
.test
version 0.12.14
.test
version 0.12.13
.test
version 0.12.13
.test
version 0.12.12
.test
version 0.12.11
.tags
parameter to test()
and group()
.test
version 0.12.10
.Declare compatibility with shelf
version 0.7.0
.
Declare compatibility with test
version 0.12.9
.
test
version 0.12.8
.test
version 0.12.7
.http_multi_server
version 2.0.0
.test
to include 0.12.6
.test
to include 0.12.5
.test
to include 0.12.4
.Add ScheduledServer.handleUnscheduled
, which allows users to create long-lasting handlers that aren't part of the test schedule.
Support WebSocket connections with ScheduledServer
s.
dart path/to/test.dart
.timeout
in test
and group
.test()
and group()
methods that forward to the test
package.When an error occurs in the tasks queue, the onComplete
queue will begin running immediately rather than waiting for all outstanding tasks and out-of-band callbacks to complete. This more closely matches the semantics of the underlying test framework and will hopefully be less surprising.
Errors are now only converted to ScheduleErrors
when they're added to the Schedule.errors
list. This means that errors emitted by calls to schedule()
will no longer be ScheduleError
s.
An error thrown in one task will no longer be emitted by the return values of future calls to schedule()
.
Remove the Schedule.onException
queue. This was largely redundant with Schedule.onComplete
and complicated the implementation.
Remove Schedule.pendingCallbacks
and ScheduleError.pendingCallbacks
. Printing out the pending callbacks was rarely useful once stack chains existed, so they were just producing visual clutter.
Remove Schedule.timeout
and Schedule.heartbeat
. Timeouts will be handled by the test
package instead.
Remove Schedule.signalError
. Use registerException
from the test
package instead.
Remove wrapFuture
, Schedule.wrapFuture
, and Schedule.wrapAsync
. Use expectAsync
, completes
, and completion
from the test
package instead.
Remove TaskQueue.onTasksComplete
.
unittest
.ScheduledProcess.signal()
method for sending signals to subprocesses.0.6.0
of shelf
.unittest
.unittest
.unittest
.unittest
.DirectoryDescriptor.fromFilesystem
.metatest
package.ScheduledProcess
could fail to log its output.DirectoryDescriptor.fromFilesystem
constructor.tearDown
function.nothing()
descriptor will fail if a broken symlink is present.http_multi_server
to bind to both the IPv4 and IPv6 loopback addresses for scheduled_test.stack_trace
.Added README.md
with content from lib/scheduled_test.dart
.
Made changes to test/metatest.dart
related to outstanding issues.
v0.11.0
of unittest
.v0.5.0
of shelf
.ScheduledServer.handle
now takes a shelf.Handler
rather than a custom handler class.
The body of a test()
or a setUp()
call may now return a Future. This was already supported by the unittest
package. The Future is passed to a wrapFuture
call.
http
version constraint from ">=0.9.0 <0.10.0"
to ">=0.9.0 <0.11.0"
Add a StreamMatcher.hasMatch
method.
The consumeThrough
and consumeWhile
matchers for ScheduledStream
now take StreamMatcher
s as well as normal Matcher
s.
Convert ScheduledProcess
to expose stdout
and stderr
as ScheduledStream
s.
Add a consumeWhile
matcher for ScheduledStream
.