- zenspider.com
- zenspider projects
- minitest-excludes
minitest/excludes.rb extends MiniTest::Unit::TestCase to provide a clean API for excluding certain tests you don’t want to run under certain conditions.
1 2 3 4 5 6 7 8 9 |
class TestXYZ < MiniTest::Unit::TestCase def test_good test that passes end def test_bad test that fails only on jruby end end |
For jruby runs, you can add test/excludes/TestXYZ.rb with:
1 |
exclude :test_bad, "Uses ObjectSpace" if jruby? |
gem install minitest-excludes
git clone git://github.com/seattlerb/minitest-excludes