Created
February 4, 2012 23:09
-
-
Save phiggins/1740999 to your computer and use it in GitHub Desktop.
MiniTest commandline
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' | |
describe "bar" do | |
it "tests stuff" do | |
assert true | |
end | |
end |
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' | |
p MiniTest::Unit::VERSION | |
describe "foo" do | |
it "tests stuff" do | |
assert true | |
end | |
end |
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
pete@balloon ~/projects/minitest $ ruby foo_test.rb bar_test.rb | |
"1.6.0" | |
Loaded suite foo_test | |
Started | |
. | |
Finished in 0.000291 seconds. | |
1 tests, 1 assertions, 0 failures, 0 errors, 0 skips | |
Test run options: --seed 23037 | |
pete@balloon ~/projects/minitest $ ruby -Ilib foo_test.rb bar_test.rb | |
"2.11.1" | |
Run options: --seed 48566 | |
# Running tests: | |
. | |
Finished tests in 0.000550s, 1817.1906 tests/s, 1817.1906 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