Skip to content

Instantly share code, notes, and snippets.

@sgharms
Created February 11, 2014 20:46
Show Gist options
  • Save sgharms/8943777 to your computer and use it in GitHub Desktop.
Save sgharms/8943777 to your computer and use it in GitHub Desktop.
minitest ships with 2.0
➜ fu irb -r 'minitest/autorun'
irb(main):001:0> class TestClass < Minitest::Unit::TestCase
irb(main):002:1> def test_fu
irb(main):003:2> assert true, "should be true"
irb(main):004:2> end
irb(main):005:1> end
=> nil
irb(main):006:0>
Run options: --seed 10470
# Running tests:
.
Finished tests in 0.000611s, 1636.6612 tests/s, 1636.6612 assertions/s.
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment