search for: test_say_hi

Displaying 1 result from an estimated 1 matches for "test_say_hi".

2006 Mar 07
3
STI and unit testing
...hough 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. 3 tests, 3 assertions, 0 failures, 0 errors shouldn''t BarTest only have two tests? test_say_hi() which is inherited from FooTest and test_say_hello(), I don''t understand why the parent test case is also being run. Can anyone shed some light on this please? thanks in advance alan code (also pasted to http://www.pasteserver.net/paste/show/152): 1 # model Foo, created using gen...