Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.16.0
Added
-
Core: New
QUnit.test.each()
method for data providers. (@ventuno) #1568 -
Core: New
failOnZeroTests
configuration option. (Brenden Palmer @brendenpalmer) -
Core: New
QUnit.reporters
interface. (Timo Tijhof) f8948c9 js-reporters#133This introduces support for using the
tap
reporter in a browser.
This was previously limited to the CLI.
Changed
- Assert: Indicate which test a drooling
assert.async()
callback came from. (Steve McClure @smcclure15) #1599
Deprecated
Fixed
2.15.0
Changed
- HTML Reporter: Trim whitespace of the filter input. (Nathaniel Furniss) #1573
- CLI: Upgrade
js-reporters
to 2.0.0. #1577
Deprecated
- Core: Warn when setting hooks for a different module. (Ray Cohen) #1586
Fixed
- Assert: Fix
assert.throws()
to fail gracefully when expected class does not match. (Steve McClure) #1530 - CLI: Fix TAP output to support cyclical objects. (Zachary Mulgrew) #1555, js-reporters#104
- CLI: Fix TAP output for the
Infinity
value, previously becamenull
. (Timo Tijhof) #1406 - CLI: Fix TAP output going silent if
console
object is mocked. (Timo Tijhof) #1340
2.14.1
2.14.0
2.13.0
Added
- Core: Log test name as part of "Assertion after test" failures. (brandonocasey) #1517
- CLI: Add native support for ESM .mjs files on Node 12+. (Timo Tijhof) #1465
Deprecated
- HTML Reporter: Deprecate PhantomJS. (Steve McClure)
Fixed
- Core: Count tests run so that
suiteEnd
emits correctly with active filters. (Stephen Yeung) #1416 - Core: Fix test counter bug when nesting invalid test functions. (Timo Tijhof)
- HTML Reporter: Avoid leaking
Map
global in older browsers. (Timo Tijhof)
2.12.0
Added
- Core: Add
QUnit.test.*
aliases forQUnit.only()
,QUnit.skip()
, andQUnit.todo()
. (Steve McClure) #1496 - Assert: Support arrow functions in
assert.throws()
as expected matcher callback. (Steve McClure) #1492
Changed
- CLI: Update
node-watch
andcommander
dependencies. (Timo Tijhof) #1500
Deprecated
- Core: Deprecate
QUnit.extend()
. (Steve McClure) #1491
2.11.3
2.11.2
2.11.1
2.11.0
Added
- Assert: New strict boolean
assert.true()
andassert.false()
methods. (Ventuno) #1445 - Docs: Redesign of https://qunitjs.com. (Trent Willis) #1458
- HTML Reporter: New fuzzy search when typing in the module filter. (Ventuno) #1440
Changed
- HTML Reporter: Hide skipped tests also when
hidepassed
is set. (Ray Cohen) #1208
Fixed
- CLI: Improve performance for non-glob arguments. (SparshithNRai) #1385
- CLI: Fix error with
--watch
option, affected Node 14 on Linux. #1448 - Core: Fix "No tests" to check test count instead of assert count. (Jessica Jordan) #1405
Removed
- All: Remove support for Node 6 and Node 8, require Node 10+.