Releases: qunitjs/qunit
Releases · qunitjs/qunit
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
2.1.1
- All: Remove deprecated 1.x features
- Assert: Deprecate assert.push
- Build: Remove unnecessary QUnit.load call
- Core: QUnit.start does not require calling QUnit.load
- HTML Reporter: Add an abort button
2.1.0
- All: Using eslint-plugin-html to lint HTML files
- All: Removed JSHint/JSCS config & comment leftovers
- All: Update License to JSFoundation
- All: Fix some outstanding indentation issues in files
- All: Use Rollup and Babel to build
- Core: Support a predefined QUnit.config
- Core: Fix clearing of storage on done
- Core: Always report if test previously failed
- Core: Introduce config.storage option
- Core: Load the onerror module
- Core: Fix QUnit.equiv object methods comparison
- Core: Support multiple nested modules hooks properly
- Core: Remove jsDump. (#1034)
- Core: Fire moduleStart only when starting module for the first time
- Core: Fire moduleDone when actually finished with module
- HTML Reporter: Decouple from sessionStorage reordering logic
- HTML Reporter: Fix expanding failed tests when collapse is false.
- HTML Reporter: Handle URL params named like Object.prototype properties
- Test: Properly handle Promises rejected without an error
- Tests: Fixing lint errors caught by eslint-plugin-html
- Tests: HTML files should end with LF
- Tests: Add tests for Storage interface
- Tests: Add tests for logging callback/module hooks order
- Tests: Add expects to latest Promise tests
- Build: Update Node support versions
- Build: Consume eslint-plugin-qunit, use "two" configuration (#1052)
- Build: Use ESLint
- Build: Use SPDX format in bower.json's license
- Build: Remove dependency on es2015-rollup preset
- Build: Build with recent Node version but test against support matrix