Simple TDD Ruby setup with RSpec
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
spec
.gitignore
.ruby-version
Gemfile
Gemfile.lock
Readme.md

Readme.md

Simple Ruby TDD setup

Circle CI Dependency Status

When I teach someone Ruby, I always need the simplest possible TDD setup.

This Git project is a simple setup with RSpec and Simplecov.

To install all required gems run:

$ gem install bundler
$ bundle install
$ rbenv rehash # Only if you use Rbenv

To run the tests with coverage (default) rspec

$ rspec
.

Finished in 0.0002 seconds
1 example, 0 failures
Coverage report generated for RSpec to ./coverage. 3 / 3 LOC (100.0%) covered.