Skip to content

junk0612/rspec-sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published