QUnit

Sponsored Links:
Software Screenshot:
QUnit
Software Details:
Version: 1.22.0 updated
Upload Date: 11 Mar 16
Developer: jQuery Team
Distribution Type: Freeware
Downloads: 16

Rating: 4.0/5 (Total Votes: 1)

Sponsored Links:

QUnit is the official unit testing tool used by the jQuery Team for the framework's core and various additional plugins.

Besides specific jQuery code, QUnit can also test generic JavaScript code, including server-side JavaScript.

This testing framework can be especially useful for regression testing, helping developers uncover new type of bugs as the codebase evolves.

QUnit is similar to other unit testing frameworks (like JUnit) and is considered a part of the xUnit testing framework family.

What is new in this release:

  • Assert: throws uses push method only
  • Assert: Fix missing test on exported throws
  • Assert: Implements notOk to assert falsy values
  • Core: More graceful handling of AMD
  • Core: Simplify stack trace methods
  • Core: Expose Dump maxDepth property
  • Core: Expose QUnit version as QUnit.version property
  • Core: Handle multiple testId parameters
  • Dump: Fix .name/.property doublettes
  • HTML Reporter: New diff using Google's Diff-Patch-Match Library
  • HTML Reporter: Make it more obvious why diff is suppressed.
  • HTML Reporter: Change display text for bad tests
  • HTML Reporter: Fix checkbox and select handling in IE <9
  • HTML Reporter: Fix test filter without any module
  • HTML Reporter: Retain failed tests numbers
  • Test: lowercase the valid test filter before using it

What is new in version 1.20.0:

  • Assert: throws uses push method only
  • Assert: Fix missing test on exported throws
  • Assert: Implements notOk to assert falsy values
  • Core: More graceful handling of AMD
  • Core: Simplify stack trace methods
  • Core: Expose Dump maxDepth property
  • Core: Expose QUnit version as QUnit.version property
  • Core: Handle multiple testId parameters
  • Dump: Fix .name/.property doublettes
  • HTML Reporter: New diff using Google's Diff-Patch-Match Library
  • HTML Reporter: Make it more obvious why diff is suppressed.
  • HTML Reporter: Change display text for bad tests
  • HTML Reporter: Fix checkbox and select handling in IE <9
  • HTML Reporter: Fix test filter without any module
  • HTML Reporter: Retain failed tests numbers
  • Test: lowercase the valid test filter before using it

What is new in version 1.19.0:

  • Assert: throws uses push method only
  • Assert: Fix missing test on exported throws
  • Assert: Implements notOk to assert falsy values
  • Core: More graceful handling of AMD
  • Core: Simplify stack trace methods
  • Core: Expose Dump maxDepth property
  • Core: Expose QUnit version as QUnit.version property
  • Core: Handle multiple testId parameters
  • Dump: Fix .name/.property doublettes
  • HTML Reporter: New diff using Google's Diff-Patch-Match Library
  • HTML Reporter: Make it more obvious why diff is suppressed.
  • HTML Reporter: Change display text for bad tests
  • HTML Reporter: Fix checkbox and select handling in IE <9
  • HTML Reporter: Fix test filter without any module
  • HTML Reporter: Retain failed tests numbers
  • Test: lowercase the valid test filter before using it

What is new in version 1.18.0:

  • Assert: throws uses push method only
  • Assert: Fix missing test on exported throws
  • Assert: Implements notOk to assert falsy values
  • Core: More graceful handling of AMD
  • Core: Simplify stack trace methods
  • Core: Expose Dump maxDepth property
  • Core: Expose QUnit version as QUnit.version property
  • Core: Handle multiple testId parameters
  • Dump: Fix .name/.property doublettes
  • HTML Reporter: New diff using Google's Diff-Patch-Match Library
  • HTML Reporter: Make it more obvious why diff is suppressed.
  • HTML Reporter: Change display text for bad tests
  • HTML Reporter: Fix checkbox and select handling in IE <9
  • HTML Reporter: Fix test filter without any module
  • HTML Reporter: Retain failed tests numbers
  • Test: lowercase the valid test filter before using it

What is new in version 1.17.1:

  • Build: Remove bower.json from ignored files
  • Build: Support Node.js export parity with CommonJS
  • HTML Reporter: Add the filter field
  • HTML Reporter: Don't hide skipped tests
  • HTML Reporter: Fix regression for old markup
  • HTML Reporter: Prevent XSS attacks
  • HTML Reporter: QUnit.url is now a private function in the HTML Reporter
  • HTML Reporter: URL params can be set by code

What is new in version 1.15.0:

  • Assert: Implement Assert constructor with test context. This heavily improves debugging of async tests, since assertions can't leak into other tests anymore. Use the assert argument in your test callbacks to run assertions to get the full benefit of this.
  • Assert: Improved the default message from assert.ok. Now assert.ok() outputs the exact value it received, instead of only saying it wasn't thruthy.
  • Assert: Removal of raises, same and equals. These were deprecated a long time ago and finally removed. Use throws, deepEqual and equal instead.
  • Core: Pass total amount of tests to QUnit.begin callback as totalTests. Will be used by Karma and other reporters.
  • Dump: Move QUnit.jsDump to QUnit.dump. QUnit.jsDump still exists, but will be removed later. Use QUnit.dump.
  • Dump: Output non-enumerable properties of TypeError. Makes it easier to compare properties of error objects.
  • Reporter: Output only assertion count for green tests. Less visual clutter for passing tests.
  • Reporter: Move HTML reporter to a new JS file. The HTML reporter is still bundled, but the code has been refactored to move it to a separate file.
  • Test: Remove deprecated QUnit.current_testEnvironment

What is new in version 1.14.0:

  • CSS: Removing redundancy
  • Core: Add config property for disabling default scroll-to-top
  • Grunt: Remove addons leftovers
  • Addons: Remove last remnants
  • Core: Extend QUnit.config.urlConfig to support select-one dropdowns
  • Assert: Extend throws to accept Error instances
  • Assert: Extend throws to handle errors as strings
  • CSS: Updating qunit.css for consistency
  • Core: Cache window.clearTimeout in case it gets mocked
  • Core: Run multiple tests by test number

What is new in version 1.13.0:

  • Assert: Remove raises (deprecated 2012), replace with failed assertion.
  • Grunt: Add non-browser test as grunt task. Runs existing tests in node.
  • Export: Only export to the variable that we check for.
  • Core: Properly check for existence of document.
  • Core: Remove triggerEvent, which isn't used or documented anywhere.
  • Core: Silence addEvent in non-browser env.

What is new in version 1.12.0:

  • Add a deprecation comment to QUnit.reset. Partial fix for #354
  • Fix mis-match between moduleStart and moduleDone events
  • Removed jQuery.trim optimization. Fixes #424.
  • Use a local setTimeout reference, add separate unit test suite for that. Fixes #432 - Using a setTimeout stub can stop test suite from continuing. Closes gh-433
  • Added CONTRIBUTING.md.
  • Moved 'addons/themes/nv' to 'Krinkle/qunit-theme-nv.git'
  • Moved 'addons/themes/ninja' to 'Krinkle/qunit-theme-ninja.git'
  • Moved 'addons/themes/gabe' to 'Krinkle/qunit-theme-gabe.git'

What is new in version 1.11.0:

  • Phantomjs: Include source in assertion details.
  • Phantomjs: Removed the polling mechanism in favor of PhantomJS 1.6+'s WebPage#onCallback.
  • Delay start() until init() happened..
  • urlConfig: Fix checkbox event for oldIE.
  • Issue #365: Fix module picker for oldIE.
  • Fixes #344 - Capture and show test duration.
  • Rename tests to assertions in summary.
  • Assert: Implement propEqual and notPropEqual.
  • Canvas addon: Use 0.6 as alpha value to avoid inconsistencies between browsers.
  • Remove global variable "assert".
  • Add a test for loading tests asynchronously.

What is new in version v1.8.0pre:

  • Improve window.onerror handling.

What is new in version v1.7.0pre:

  • Add config.requireExpects.
  • Add option to require all tests to call expect().
  • Improve extractStacktrace() implementation.
  • Include all relevant stack lines.
  • Make filters case-insensitive.
  • is() expects lowercase types.
  • Expected Date value is not displayed properly.
  • Fix phantomjs addon header and add readme.
  • Add some hints to composite addon readme.
  • Track tests by the order in which they were run and create rerun links based on that number.
  • Make Rerun link run only a single test.

Requirements:

  • JavaScript enabled on client side

Similar Software

Other Software of Developer jQuery Team

Esprima
Esprima

11 Mar 16

jQuery UI
jQuery UI

2 Oct 16

Comments to QUnit

Comments not found
Add Comment
Turn on images!