Releases: qunitjs/qunit
Releases · qunitjs/qunit
2.5.1
- Docs: Align assert.throws() and assert.rejects() docs (#1265)
- Build: Use Node 9.x for matrix, cache node_modules
- Docs: Remove unexpected throw statement in examples
- Docs: Note that assert.rejects() also accepts an error object as matcher
- Docs: Mark the second parameter of assert.rejects() as optional
- Docs: Remove redundant expression from verifySteps' description (#1262)
- Docs: Fix typo in docs for QUnit.module (#1257)
- Core: Release all processing locks when Promise rejects from a test
- Assert: Fail test when using step inside a test without verifySteps
- HTML Reporter: Ensure attributes on qunit-fixture are reset.
- Test: Add failing test for fixture attribute leakage.
- Tests: refactor fixture reset tests to be more strict
2.5.0
- Core: Capture the proper stack trace in onUnhandledRejection.
- Core: Remove delay parameters from setTimeouts in processing code (#1246)
- Core: Add QUnit.onUnhandledRejection.
- CLI: Ensure an unhandled rejection results in a failed test.
- Assert: Add
assert.rejects
. - Assert: Reset internal steps list after verifySteps
- HTML Reporter: Ensure unhandled rejection fails.
- Docs: Add example for async test with assert.timeout
- Docs: Add assert.rejects API documentation.
- Docs: assert.verifySteps() called multiple times.
- Tests: Fix no-multi-spaces violation found by latest ESLint
- Tests: Address feedback, use more idiomatic promise chaining.
- Tests: Update CLI test and test fixture to remove stacktrace ambiguity.
- Tests: Update tests for unhandled rejection scenarios.
- Tests: Add test for notrycatch doesn't catch.
- Tests: Reject async test promise when config.notrycatch is set.
- Tests: Add Node 9 to test matrix.
- Tests: Drop Node 7 from CI.
- Build: Use babel-preset-env and .babelrc
- All: Enable ESLint no-multi-spaces rule (#1234)
- All: Fixes spelling of 'occurred'
2.4.1
- HTML Reporter: Fix regression in error reporting
- Docs: Add further clarification and examples for Step API
- Build: Add my new name to .mailmap, update it in AUTHORS.txt
- CLI: Add slight debounce to restarting tests on file watching
- CLI: Properly support watching files added after first run
- Tests: Add watch test for adding file after a run
- CLI: Clear require cache of watched files between runs
- Tests: Modify watch test to cover require cache scenario
- Build: Allow custom livereload port via livereload-port option
- Build: Add better livereloading to watch task
- Build: Fix test-on-node task during watch
- CLI: Catch file load failures and report as failing tests
- Test: Fixing double-space that was expanded to tab
- All: Updated yarn.lock
- All: Upgraded to [email protected] via [email protected] and related plugins
- CLI: List available reporters when option is specified with no value
- Test: Provide descriptive feedback when missing test callback
2.4.0
- Assert: Introduce timeout to set per-test timeout durations
- Assert: Fix assert.push deprecation link
- Core: Release objects from memory in equiv
- Core: Implement QUnit.module.skip()
- Core: Fallback to
typeof obj
inQUnit.objectType
- Core: Implement QUnit.module.todo()
- Core: Implement QUnit.module.only()
- Core: Add support for multiple hooks
- CLI: Better messaging on early exits
- CLI: Default to non-zero exit code
- CLI: Exit with non-zero status when no tests are run
- Docs: Document assert.timeout
- Docs: Fix typo in docs for QUnit.module
- Docs: Document QUnit.module.{only,skip,todo} (#1194)
- Docs: Add note about defining multiple hooks for modules
- Tests: Add tests for QUnit.module.todo()
- Tests: Add tests for QUnit.module.skip()
- Tests: Add tests for assert.timeout
- Tests: Add tests using native async functions
- Tests: Add tests for multiple module hooks
- Tests: Add tests for QUnit.module.only()
- Build: Disable max-len ESLint rule for tests
- Build: Register events after requiring test file in test-on-node task
- Build: Include bin file in eslint
2.3.3
- Core: Updates for Node.js version 8 compatibility and testing
- Docs: Update README/CONTRIBUTING with more recent/relevant information
- Docs: Move CONTRIBUTING.md from docs to root
- Build: Let grunt watch live-reload the test suite
- Build: Only start one web server for grunt watch
- Core: Support running in WorkerGlobalScope
- Docs: Add license status (#1175)
- Docs: delete note about QUnit.jsDump's removal
- Docs: Document 'todo' in log details object
- Docs: Document 'todo' in testDone details object
- Tests: Add requireQUnit tests
- CLI: Prefer local version of QUnit
2.3.2
2.3.1
- Tests: Emit
suiteEnd
and triggermoduleDone
for parent modules - Docs: Remove trailing slash from some urls
- All: Enable ESLint indent rule (#1143)
- Docs: Update assert.async documentation
- Assert: Allow assertions after async
- Docs: Copy styles from jquery-wp-content
- Docs: Render markdown inside HTML blocks
- Core: Ensure assertions occur while test is running
- Assert: Throw if async callback invoked after test finishes
- Tests: Add additional events test
- Tests: Re-order events test
- Core: Slim assertions after reporting them
- Core: Fix test instance memory leak (#1138)
- Docs: Remove baseurl as github is inserting an automatic value (#1136)
- Docs: Migrate api docs (#1135)
- Readme: Added Gitter badge (#1134)
2.3.0
- Core: Test#pushFailure now calls Test#pushResult
- HTML Reporter: Display todo tests on hidepassed
- CLI: Add support for custom reporters
- CLI: Properly support aborting and restarting tests
- CLI: Add file watching option
- Core: Revamp processing order to one test at a time
- Core: Remove parameter from ProcessingQueue#advance
- CLI: Add description to help command
- CLI: Add seed option
- Core: Account for validity of test in test counts
- CLI: Support filtering tests
- Core: Extract processing logic into ProcessingQueue
- Tests: Add CLI tests
- CLI: Introduce QUnit CLI
- Readme: Add detailed release instructions
- All: Enable ESLint prefer-const rule (#1109)
2.2.1
2.2.0
Added
- Core: Support running in a sandboxed iframe.
- Core: New event emitter. (Trent Willis) #1087
- Core: New
QUnit.todo()
method. (Trent Willis) #1080 - Assert: New
assert.step()
andassert.verifySteps()
methods. (Trent Willis)(Trent Willis) #1075
Changed
- Core: QUnit.onError now expects error or error-like object.
- Core: Include "todo" in assertion event data.
Fixed
- HTML Reporter: Ensure window.onerror return values are correct.
- Core: Fix start on Node when autostart is not set to true. #1105
- Core: Fix double begin when calling start in Node.
- Core: Rewrite QUnit.equiv to be breadth-first.
- Core: Optimize the "set" and "map" callbacks.
- Core: Fix console error in IE9. #1093