rspec-sound provides sound while executing specs and notify to you when they finished.
This gem is inspired by minitest-sound.
- mpg123
- RSpec
Add this line to your application's Gemfile:
gem 'rspec-sound'
And then execute:
bundle
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.
Bug reports and pull requests are welcome on GitHub at https://github.com/junk0612/rspec-sound.
MIT