This module allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal.
To seed your project with some examples
BDD Example
Installation
npm install -g jasmineInitializing
To initialize a project for Jasminejasmine initTo seed your project with some examples
jasmine examplesUsage
To run your test suitejasmineBDD Example
describe("A suite", function() { it("contains spec with an expectation", function() { expect(true).toBe(true); }); });
No comments:
Post a Comment