Sha256: 14e48c3516682eeb9d267b24e6104c5d936fa4dae3dd2baadfb277ff2468b28e
Contents?: true
Size: 709 Bytes
Versions: 3
Compression:
Stored size: 709 Bytes
Contents
require 'test_helper' class EverythingTest < MTest def test_runs_entire_test_suite_with_no_arguments output = m('') assert_output /12 tests/, output end def test_missing_file_gives_a_decent_error_message output = m('examples/thisdoesnexist_test.rb') assert !$?.success? assert_match /Failed loading test file/, output assert_match /cannot load such file/, output end def test_running_tests_within_a_subdirectory output = m('examples/subdir') assert_output /3 tests/, output output = m('examples') assert_output /12 tests/, output end def test_blank_file_is_quieter output = m('bananas') assert_no_match /Valid tests to run/, output end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
m-1.3.2 | test/everything_test.rb |
m-1.3.1 | test/everything_test.rb |
m-1.3.0 | test/everything_test.rb |