Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aconbere/macrotest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
    });
  });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published