Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
lab v4.0 removes conflicts when running tests from either a globally or locally installed version of lab. lab is now finally tested fully with lab. Additionally, it's now much easier to create test runners for lab without having to create a new fork.
The original discussion on v4.0 changes and the motivation behind them can be found here.
var Lab = require('lab'); // Test shortcuts var expect = Lab.expect; var before = Lab.before; var after = Lab.after; var describe = Lab.experiment; var it = Lab.test;
var Lab = require('lab'); // Test shortcuts var lab = exports.lab = Lab.script(); var before = lab.before; var after = lab.after; var describe = lab.describe; var it = lab.it; var expect = Lab.expect;