leeacto / rspec-instafail

Show failing specs instantly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show failing specs instantly. Show passing spec as green dots as usual.

Output

....................................................*....
1) ApplicationController#sign_out_and_redirect with JSON should return JSON indicating success
   Failure/Error: json_response = JSON.parse response.body
   A JSON text must at least contain two octets!
   # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `initialize'
   # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `new'
   # /Users/miwillhite/.rvm/gems/ruby-1.9.2-p0/gems/json_pure-1.4.6/lib/json/common.rb:146:in `parse'
   # ./spec/controllers/application_controller_spec.rb:17:in `block (4 levels) in <top (required)>'
..................................................................

Finished in 650.095614 seconds

1680 examples, 1 failure, 1 pending

Install

gem install rspec-instafail

# .rspec
--require rspec/instafail
--format RSpec::Instafail

Authors

Michael Grosser
michael@grosser.it
License: MIT
Build Status

About

Show failing specs instantly


Languages

Language:Ruby 100.0%