Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.md
qunit-step.js
step-test.js
step.html

README.md

QUnit.step() - A QUnit Addon For Testing execution in order

This addon for QUnit adds a step method that allows you to assert the proper sequence in which the code should execute.

Example:

test("example test", function () {
  function x() {
    QUnit.step(2, "function y should be called first");
  }
  function y() {
    QUnit.step(1);
  }
  y();
  x();
});
Something went wrong with that request. Please try again.