QUnit Step assertion plugin
This plugin for QUnit adds a step
assertion method to test
the proper sequence in which the code should execute.
Usage
assert;
Where:
expected
: The expected step number (assertion sequence index)message
: Optional message, same as for other assertions
Examples
QUnit;
For more examples, refer to the unit tests.
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.