Testing - dukechronicle/chronline GitHub Wiki

We use RSpec to test our models, lib directory, and API. We use Cucumber for all acceptance tests.

Writing Tests

RSpec

Resources:

Cucumber

Resources:

Running Tests

You can run acceptance tests with the following command:

$ cucumber features

You can run spec tests with the following command:

$ rspec spec