From: James Edward Gray II Date: 2007-02-16T04:58:36+09:00 Subject: Re: Best way to skip tests On Feb 15, 2007, at 1:25 PM, Daniel Berger wrote: > I guess I'd like something like this: > > class TC_Foo < Test::Unit::TestCase > def test_bar > if RUBY_PLATFORM.match('mswin') > skip('There's no Foo::Bar on MS Windows - skipped') at_exit { warn "The Windows tests were skipped." } > else > assert_equal(42, Foo::Bar) > end > end > end Just a thought. James Edward Gray II