units of code and show correctness • Unit: smallest testable part of an application (often a single function/method or class) • Test cases are independent from each other • Each test represents a contract a unit must satisfy
(coined by Dan North) • Tests are human readable, start with should and are NOT called tests (but behavior, or specifications) • (Unit) Testing frameworks that facilitate BDD: Jasmine, Mocha
friendly. Scenario: Successful sign up New users should get a confirmation email and be greeted personally by the site once signed in. Given I have chosen to sign up When I sign up with valid details Then I should receive a confirmation email And I should see a personalized greeting message
installation will ask for your sudo-password during installation. If you use sudo yourself as well, this will fail. * See: http://howtonode.org/introduction-to-npm
Creates a features-folder in your project, with example features and everything needed to interpret them • Runs the example features and shows you the output • Saves (any) screenshots into your build-folder