search for: bar_test

Displaying 2 results from an estimated 2 matches for "bar_test".

2006 Mar 07
3
STI and unit testing
...;m still struggling. I''m using STI and trying to write tests for the extended models (code below). I''ve written test cases for the extended models which themselves extend the test case for the parent model, so BarTest extends FooTest which extends TestCase when I run ''bar_test.rb'' it seems to run the test case twice, once for FooTest and once for BarTest, even though the only file I''m running is bar_test.rb - here''s the output: C:\WINDOWS\system32\cmd.exe /c ruby bar_test.rb Loaded suite bar_test Started .Bar .Foo . Finished in 0.109 seconds...
2009 Mar 13
1
Something crazy with rake test
...w/foo/vendor/plugins/bar) /usr/bin/ruby -I"/usr/local/www/foo/vendor/plugins/bar/lib" -I"/usr/local/www/foo/vendor/plugins/bar/lib" -I"/usr/local/www/foo/vendor/plugins/bar/test" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/rake_test_loader.rb" "test/bar_test.rb" editing test_bar.rb and modifying the default "truth" assertion with assert false does not produces any assertion failure since the tests are not run at all It worked yesterday and I only upgraded to rake 0.8.4 then reverted to 0.8.3 Any idea ? -- Posted via http://www.ruby-...