Here is what I get when I cut/paste it into a file, about.rb, and ran "ruby
about.rb".
[~] $ ruby about.rb
Loaded suite about
Started
.
Finished in 7.985 seconds.
1 tests, 1 assertions, 0 failures, 0 errors
Thanks,
Al Snow
Agile Software Developer
Linkedin: http://www.linkedin.com/in/alsnow
Go
On Thu, Mar 26, 2009 at 07:00, Durgesh wrote:
> How can I determine whether my test has passed or fail?
I think that by default test unit (require 'test/unit') by default just
outputs a dot (.) if test passes, and outputs error message if there was a
problem.
Željko
--~--~-~--~~