unittest 0.10.0 copy "unittest: ^0.10.0" to clipboard
unittest: ^0.10.0 copied to clipboard

discontinuedreplaced by: test
outdatedDart 1 only

A library for writing dart unit tests.

Changelog - unittest #

##0.10.0-dev

  • Each test is run in a separate Zone. This ensures that any exceptions that occur is async operations are reported back to the source test case.
  • DEPRECATED guardAsync, protectAsync0, protectAsync1, and protectAsync2
    • Running each test in a Zone addresses the need for these methods.
  • NEW! expectAsync replaces the now deprecated expectAsync0, expectAsync1 and expectAsync2
  • NEW! expectAsyncUntil replaces the now deprecated expectAsyncUntil0, expectAsyncUntil1 and expectAsyncUntil2
  • TestCase:
    • Removed properties: setUp, tearDown, testFunction
    • enabled is now get-only
    • Removed methods: pass, fail, error
  • interactive_html_config.dart has been removed.
  • runTests, tearDown, setUp, test, group, solo_test, and solo_group now throw a StateError if called while tests are running.
  • rerunTests has been removed.

##0.9.3 - 2014-01-13

0
likes
0
pub points
26%
popularity

Publisher

unverified uploader

A library for writing dart unit tests.

Homepage

Documentation

Documentation

License

unknown (license)

Dependencies

stack_trace

More

Packages that depend on unittest