QUNIT

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

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

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.

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

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.

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-2021    Codehacker - All Rights Reserved