/tdd-tutorial

TDD tutorial framework

Primary LanguageJavaScript

TDD Tutorial

Setup

Install node.js following the instructions here https://nodejs.org/en/download/

Open a terminal session and navigate to the tdd-tutorial directory and run npm install

You may need to install the grunt cli tool npm install -g grunt-cli

A number of dependencies should install on your machine when this is complete run grunt.

It the installation has been sucessful then you should see the following output.

Running "jshint:all" (jshint) task
>> 3 files lint free.

Running "jasmine:default" (jasmine) task
Testing jasmine specs via phantom
.
>> 1 spec in 0s.
 0 failures

Done, without errors.

In the same directory check you have 'ruby' installed

ruby -v should tell you the version

if not install it..

https://www.ruby-lang.org/en/documentation/installation/

then install cucumber

gem install cucumber