Skip to content

Releases: qunitjs/qunit

2.3.3

02 Jun 14:15
Compare
Choose a tag to compare
  • 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

18 Apr 02:32
Compare
Choose a tag to compare
  • HTML Reporter: Add specific diff for number types instead of str-diff. (#1155)
  • Core: Fix bug calling hooks with skipped tests (#1156)
  • Docs: Fix title and index link

2.3.1

10 Apr 20:05
Compare
Choose a tag to compare
  • Tests: Emit suiteEnd and trigger moduleDone 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

29 Mar 15:26
Compare
Choose a tag to compare
  • 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

20 Mar 01:30
Compare
Choose a tag to compare
  • Test: Add basic reorder test
  • Core: Fix sessionStorage feature detection
  • Tests: Ensure onError tests are included in test/index.html (#1111)

2.2.0

20 Mar 01:29
Compare
Choose a tag to compare

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() and assert.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

20 Mar 01:28
Compare
Choose a tag to compare
  • 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

06 Dec 04:57
Compare
Choose a tag to compare
  • 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

2.0.1

24 Jul 22:24
Compare
Choose a tag to compare
  • Core: Add extra guard against multiple begin()s
  • Test: Use a single property for tracking all async deferred calls
  • Core: Use callback-based pause/resume for better multi-pause isolation
  • Core: Better isolate async abstractions
  • Core: Improve internal async handling by removing resumed
  • HTML Reporter: Fix apply/reset button visibilty
  • Core: Ensure runtime for skipped tests is 0
  • Dump: Add parser for Symbol

2.0.0

16 Jun 17:32
Compare
Choose a tag to compare

Check out the upgrade guide at https://qunitjs.com/upgrade-guide-2.x/

  • All: Remove deprecated features
  • All: Remove QUnit.config.autorun
  • All: Code cleanup for non-supported browsers
  • All: Prevent async tests from having multiple resume timeouts
  • All: Decouple Core fixture reset from HTML reporter
  • Assert: Remove throws signature with string expected value
  • Dump: update typeOf to extract extra complex type definition
  • Core: Introduce before/after hooks for modules
  • Core: Decode "+" to " " (space) in url params
  • Core: Throw error if QUnit is already defined globally
  • HTML Reporter: Add reset/apply buttons in the module picker
  • HTML Reporter: Improve module picker accessibility
  • HTML Reporter: color/background order consistency
  • HTML Reporter: Further improve module picker styling
  • HTML Reporter: Improve toolbar styles
  • HTML Reporter: Multi-select module dropdown
  • Test: Refactor test.semaphore usage
  • Tests: Test on all Node.js releases supported by upstream