QUnit 1.16.0: Async testing

Changelog

Added

  • Assert: New assert.async() method. (James M. Greene) #534
  • Assert: Add alias for throws called assert.raises().
  • Core: New QUnit.skip() method. (Leo Balter) #637
  • Core: Add runtime property to QUnit.moduleDone() data.
  • Core: QUnit.test() now supports returning Promise and async functions. (James M. Greene) #632
  • HTML Reporter: Add runtime of each assertion to result output.

Changed

  • Core: Change url() helper to output ?foo instead of ?foo=true.
  • Core: Rename config.module to config.moduleFilter.

Fixed

  • Assert: Fail assertions after existing assert.async() flows are resolved.
  • Core: Restore and warn if some logging callback gets modified.
  • Core: Throws an error on non-function params for logging methods.
  • Core: Defer begin event till tests actually starts.
  • Core: Detail modules and tests names in the logging callbacks.
  • Core: Use Error#stack without throwing when available.
  • Dump: Configurable limit for object depth.

See also