Skip to content

Instantly share code, notes, and snippets.

@djwhitt
Created March 9, 2012 02:02
Show Gist options
  • Save djwhitt/2004599 to your computer and use it in GitHub Desktop.
Save djwhitt/2004599 to your computer and use it in GitHub Desktop.
$ autotest
/home/djwhitt/.rbenv/versions/1.9.3-p125/bin/ruby -I.:lib:test -rubygems -e "%w[helper test/helper.rb test/test_foo.rb].each { |f| require f }"
Run options: --seed 60917
# Running tests:
.
Finished tests in 0.000344s, 2904.3004 tests/s, 2904.3004 assertions/s.
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
/home/djwhitt/.rbenv/versions/1.9.3-p125/bin/ruby -I.:lib:test -rubygems -e "%w[helper test/test_foo.rb].each { |f| require f }"
Run options: --seed 51987
# Running tests:
F
Finished tests in 0.014821s, 67.4737 tests/s, 67.4737 assertions/s.
1) Failure:
test_bar(TestFoo) [/home/djwhitt/Work/sandbox/autotest_example/test/test_foo.rb:6]:
Expected: "baz"
Actual: "bar"
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
/home/djwhitt/.rbenv/versions/1.9.3-p125/bin/ruby -I.:lib:test -rubygems test/test_foo.rb -n "/^(test_bar)$/"
test/test_foo.rb:3:in `<main>': uninitialized constant MiniTest (NameError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment