scheduled_test 0.12.1
scheduled_test: ^0.12.1 copied to clipboard
A package for writing readable tests of asynchronous behavior. This package works by building up a queue of asynchronous tasks called a "schedule", then executing those tasks in order. This allows the [...]
0.12.1 #
- Add named parameters to the wrapper
test()andgroup()methods that forward to thetestpackage.
0.12.0 #
-
When an error occurs in the tasks queue, the
onCompletequeue 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
ScheduleErrorswhen they're added to theSchedule.errorslist. This means that errors emitted by calls toschedule()will no longer beScheduleErrors. -
An error thrown in one task will no longer be emitted by the return values of future calls to
schedule(). -
Remove the
Schedule.onExceptionqueue. This was largely redundant withSchedule.onCompleteand complicated the implementation. -
Remove
Schedule.pendingCallbacksandScheduleError.pendingCallbacks. Printing out the pending callbacks was rarely useful once stack chains existed, so they were just producing visual clutter. -
Remove
Schedule.timeoutandSchedule.heartbeat. Timeouts will be handled by thetestpackage instead. -
Remove
Schedule.signalError. UseregisterExceptionfrom thetestpackage instead. -
Remove
wrapFuture,Schedule.wrapFuture, andSchedule.wrapAsync. UseexpectAsync,completes, andcompletionfrom thetestpackage instead. -
Remove
TaskQueue.onTasksComplete.
0.11.8+1 #
- Bump the version constraint for
unittest.
0.11.8 #
- Add a
ScheduledProcess.signal()method for sending signals to subprocesses.
0.11.7+1 #
- Support version
0.6.0ofshelf.
0.11.7 #
- Bumped the version constraint for
unittest.
0.11.6 #
- Actually bump the version constraint for
unittest.
0.11.5 #
- Bump the version constraint for
unittest.
0.11.4 #
- Bump the version constraint for
unittest.
0.11.3 #
- Narrow the constraint on unittest to ensure that new features are reflected in scheduled_test's version.
0.11.2+3 #
- Ignore hidden files in
DirectoryDescriptor.fromFilesystem.
0.11.2+2 #
- Moved shared test utilities to
metatestpackage.
0.11.2+1 #
- Fix a case where a
ScheduledProcesscould fail to log its output.
0.11.2 #
- Add a
DirectoryDescriptor.fromFilesystemconstructor.
0.11.1 #
- Add a top-level
tearDownfunction.
0.11.0+7 #
- A
nothing()descriptor will fail if a broken symlink is present.
0.11.0+6 #
- Use
http_multi_serverto bind to both the IPv4 and IPv6 loopback addresses for scheduled_test.
0.11.0+5 #
- Widen the version constraint for
stack_trace.
0.11.0+4 #
-
Added
README.mdwith content fromlib/scheduled_test.dart. -
Made changes to
test/metatest.dartrelated to outstanding issues.
0.11.0+3 #
- Support
v0.11.0ofunittest.
0.11.0+1 #
- Support
v0.5.0ofshelf.
0.11.0 #
-
ScheduledServer.handlenow takes ashelf.Handlerrather than a custom handler class. -
The body of a
test()or asetUp()call may now return a Future. This was already supported by theunittestpackage. The Future is passed to awrapFuturecall.
0.10.1+1 #
- Updated
httpversion constraint from">=0.9.0 <0.10.0"to">=0.9.0 <0.11.0"
0.10.1 #
-
Add a
StreamMatcher.hasMatchmethod. -
The
consumeThroughandconsumeWhilematchers forScheduledStreamnow takeStreamMatchers as well as normalMatchers.
0.10.0 #
-
Convert
ScheduledProcessto exposestdoutandstderrasScheduledStreams. -
Add a
consumeWhilematcher forScheduledStream.