Turns your specs into ambient music.
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
ambient_spec.gemspec

README.md

AmbientSpec

AmbientSpec turns your long-running RSpec or Minitest specs into ambient music. Sweet sounds come from passing examples, and gongs signal failing tests.

(Note that you won't hear anything unless your test suite run is longer than 5 seconds. Silence is the most pleasing sound of all.)

Dependencies

Requires RSpec 3.x. or Minitest.

Installation

Add this line to your application's Gemfile:

gem 'ambient_spec'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ambient_spec

Usage

Simply run your tests as you normally would.

To disable AmbientSpec, set ENV['AMBIENT_SPEC_DISABLED']=true

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request