jqUnit: Provide a means for easily testing the sequence and contents of function invocations.

Description

At the moment, there's nothing built into jqUnit that helps us test the order and contents of function invocations. For example, in the DemoUploadManager, the core logic is orchestrational: it's important to test that each callback function is called in the correct order, and that the arguments are appropriate.

An "invocation tracker" in jqUnit would be immensely helpful.

Environment

None

Activity

Show:

Antranig Basman January 13, 2013 at 11:19 PM

The "invocationTracker" was delivered as part of 1.4. Also, delivers similar but more advanced functionality covering the case of asynchronous event sequences as well

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created September 3, 2008 at 9:17 PM
Updated March 4, 2014 at 2:05 PM
Resolved January 13, 2013 at 11:19 PM