Skip to content

dx7/show-failure-fast-rspec-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Show Failure Fast RSpec Formatter

This formatter immediately shows the failure message when a spec fails. Then you don't need wait the final report to know about the failures.

You can use it directly in the command line:

$ rspec --require "/path/to/show_failure_fast_rspec_formatter.rb" --format ShowFailureFastRspecFormatter -- ./spec/your_spec.rb

Or setting the SPEC_OPTS environment variable in your .bash_profile, .zshrc, etc:

export SPEC_OPTS="--require ~/Projects/show-failure-fast-rspec-formatter/show_failure_fast_rspec_formatter.rb --format ShowFailureFastRspecFormatter"

Or wherever RSpec reads command line configuration options https://www.relishapp.com/rspec/rspec-core/docs/configuration/read-command-line-configuration-options-from-files

Dependency

You need install terminal-notifier to receive notification on Mac OS.

brew install terminal-notifier

About

Showing the failure message immediately when a spec fails.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages