Minitest-excludes 1.0.1 Released

minitest-excludes version 1.0.1 has been released!

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.

Changes:

1.0.1 / 2012-02-22

  • 2 bug fixes:

    • Fixed instance_eval for better error reporting. (headius)
    • Use undef_method to wipe tests brought in via modules. (headius)

I am wondering, why would one ever use “skip” now as opposed to using
this
new exclude feature?

On Feb 24, 2012, at 12:30 , Intransition wrote:

I am wondering, why would one ever use “skip” now as opposed to using this new
exclude feature?

I did too. It is so that the jruby project can run ruby-core tests w/o
modifying them.

On Fri, Feb 24, 2012 at 3:41 PM, Ryan D. [email protected]
wrote:

On Feb 24, 2012, at 12:30 , Intransition wrote:

I am wondering, why would one ever use “skip” now as opposed to using this new
exclude feature?

I did too. It is so that the jruby project can run ruby-core tests w/o modifying
them.

Short story: we want to run MRI’s tests without modifying them.
excludes provide us a way to have our own isolated list of test
methods to exclude.

I expect this would be useful for any large API’s test suite you want
to incrementally support while maintaining a “high water” mark of
currently-passing tests.

  • Charlie

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs