Last active
January 3, 2016 09:09
-
-
Save bhenderson/8440880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ruby /tmp/ruby.rb -v | |
Run options: -v --seed 24668 | |
# Running: | |
sleeping | |
TestReporting#test_slow = 1.00 s = . | |
sleeping | |
TestReporting#test_really_slow = 2.00 s = . | |
Finished in 3.001246s, 0.6664 runs/s, 0.6664 assertions/s. | |
2 runs, 2 assertions, 0 failures, 0 errors, 0 skips |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
class TestReporting < Minitest::Test | |
def test_slow | |
puts "sleeping" | |
sleep 1 | |
pass | |
end | |
def test_really_slow | |
puts "sleeping" | |
sleep 2 | |
pass | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment