Skip to content

Instantly share code, notes, and snippets.

@xlymian
Created November 21, 2011 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xlymian/1383412 to your computer and use it in GitHub Desktop.
Save xlymian/1383412 to your computer and use it in GitHub Desktop.
ChuckTestar rspec formatter
[paulmylchreest@Paul fib (master)]$ bundle exec rspec spec/* --format ChuckTestar
Yeeep
Your tests pass!
Nope! It's just Chuck Testa!
Failures:
1) Fib should give 1 for 1
Failure/Error: @fib.compute(1).should == 1
expected: 1
got: 0 (using ==)
# ./spec/fib_spec.rb:13
2) Fib should give 1 for 2
Failure/Error: @fib.compute(2).should == 1
expected: 1
got: 0 (using ==)
# ./spec/fib_spec.rb:17
Finished in 0.0019 seconds
3 examples, 2 failures
Failed examples:
rspec ./spec/fib_spec.rb:12 # Fib should give 1 for 1
rspec ./spec/fib_spec.rb:16 # Fib should give 1 for 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment