QUNIT

The following applications are examples of how to test using QUnit.

Click on the browser's 'View Source' to view the source code.

AJAX Test
Using QUnit to test AJAX.

Array Length Test
Using QUnit to test the length of an array.

Assertion Test
Using QUnit to perform assertion testing.

Asynchronous Calls Test
Using QUnit to perform asynchronous calls testing.

Build a Website Test
Using QUnit to test while building a website.

Cross-Browser Test
Using QUnit to perform a cross-browser test.

Custom Assertion Plugin Test
Using QUnit to test a custom plugin for assertions.

DOM Equal Test
Using QUnit's 'push' to verify that the destroy-method is properly implemented.

Exception Test
Using QUnit to perform exception testing.

Equality Test
Using QUnit to perform equality testing.

Form Entry Test
Using QUnit to perform form entry testing.

getMax Method Test
Using QUnit to perform a test on the getMax method.

Hello Test Using Equal
Using QUnit's 'equal' test to compare the variable value to the word 'hello'.

isEven Method Test
Using QUnit's 'ok' and 'equal' to test a method that determines even numbers.

Module Test
How to test using QUnit's 'module' feature.

Money Functions Test
Using QUnit's 'module' and 'equal' to test the various money function tests.

Numeric Calculator Test
Using QUnit to test while building a numeric calculator.

Numeric Calculator Test #2
Another example of using QUnit to test while building a numeric calculator.

QUnit Framework
QUnit framework and guide for setting up a test.

Reverse String Test
Using QUnit to perform a test on the reverse string method.

Running QUnit in the Console
This test shows how to have QUnit display the tests to the console.

String Format Test
Using QUnit's 'equal' test to compare two parameters that are strings.

Submit Test
This is how you perform a submit test using QUnit.

Temperature Test
Using QUnit to perform a test on the temperature method.


© 1997-2017 codehacker.com - All Rights Reserved            RapidSSL