Sample application to demonstrate TDD and design patterns in JavaScript
JavaScript Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits ahead of bkeepers:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
features
public
spec
.evergreen
.gitignore
Gemfile
Gemfile.lock
Guardfile
README.md
config.ru
server.rb

README.md

This is a demo application to accompany my talk The Plight of Pinocchio: JavaScript's quest to become a real language

Running the Tests

The integration tests use Cucumber and the unit tests use jasmine-headless-webkit, both of which are Ruby projects.

  1. Install Ruby

  2. Install bundler

     gem install bundler
    
  3. From the directory that this file is in, run:

     bundle
    
  4. Run the cucumber tests with:

     bundle exec cucumber
    
  5. Install qt (a jasmine-headless-webkit dependency, see its instructions if you don't have OS X & homebrew)

     brew install qt --build-from-source
    
  6. Run the unit tests with:

     bundle exec jasmine-headless-webkit
    
  7. You can also run the unit tests continuously with:

     bundle exec guard