Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 954 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 954 Bytes

RSpec::Sound

Build Status

rspec-sound provides sound while executing specs and notify to you when they finished.

This gem is inspired by minitest-sound.

Requirements

Installation

Add this line to your application's Gemfile:

gem 'rspec-sound'

And then execute:

bundle

Usage

require 'rspec/sound'

RSpec::Sound.success = '/aaa/bbb/xxx.mp3' # Sound file which does play when a test succeeded.
RSpec::Sound.failure = '/aaa/bbb/xxx.mp3' # Sound file which does play when a test failed.
RSpec::Sound.during_test = '/aaa/bbb/xxx.mp3' # Sound file which does play during test.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/junk0612/rspec-sound.

License

MIT