Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
test
README.mkd
TODO.txt
package.json

README.mkd

Macrotest

It looks like BDD but isn't. It's just asserts.

describe("macrotest", function () {
  this.before(function () {
    this.x = 10;
    // will run before each function
  });

  this.it("should set x to 10", function () {
    assert.equal(this.x, 10);
  });

  this.describe("nested describes", function () {
    this.it("should should chain down into lower describe blocks", function () {
      assert.ok(false);
    });
  });
});
Something went wrong with that request. Please try again.