Skip to content

EdmundsAPI/edmundsapi.github.com

Repository files navigation

Edmunds Developer Portal

Testing

Production

Build Status

Staging

Build Status

Running tests locally

Setup testing environment

Install gems:

  • gem install rake
  • gem install jekyll

Install [PhantomJS] (http://phantomjs.org/)

Install JDK and Maven.

Build the site

jekyll serve

Run the tests

Run all tests:

rake test

Run unit tests only:

rake test:unit

Run acceptance tests only:

rake test:acceptance

Run acceptance tests against remote deployment:

rake test:acceptance REMOTE=true (will use CNAME hostname) or rake test:acceptance SITE_URL={http url}