Skip to content
/ qassert Public
forked from qunitjs/qunit

An easy-to-use JavaScript Assertion Framework, with AJAX reporting.

Notifications You must be signed in to change notification settings

gaboom/qassert

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[QAssert] A JavaScript Assertion Framework with AJAX reporting.

QAssert is a powerful, easy-to-use, JavaScript assertion suite. It can be used in both in unit, functional and manual tests, and notably also in production code. Its main feature is to report assertion failures via a configurable AJAX call. I.e. failed assertion can be tracked independently from the environment.

QAssert is especially useful for regression testing: You can place assertions for any assumption that is made in the JavaScript logic. While running the code assertion violations will be reported via AJAX and regressions become quickly visible. To give you an example how to safeguard against unexpected DOM changes:

var $panel = $("#menuPanel");

$panel.assert().load("/");

$.assert($panel.text().length);

See doc/index.html for details!

If you are interested in helping developing QAssert, you are in the right place. For related discussions, visit the QAssert on GitHub.

About

An easy-to-use JavaScript Assertion Framework, with AJAX reporting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.4%
  • Java 0.6%