Hi all, I'm new to Rails and new to Rails testing. I have a few questions:
First, the most important question. How do I get line numbers to be reported with my errors when testing. Here is what I get back on a typical error: j...@josh-laptop:~/d/test$ ruby unit/line_test.rb -n test_update Loaded suite unit/line_test Started E Finished in 0.066663 seconds. 1) Error: test_update(LineTest): NameError: undefined local variable or method `sdf' for #<LineTest:0xb6e61304> 1 tests, 0 assertions, 0 failures, 1 errors It is tough to debug without a line number and filename. From the code samples I've seen, people generally get back a more verbose error report. How do I enable this? The next question is a small one. What is the difference between: -ruby unit/line_test.rb -ruby test -I unit/line_test.rb -ruby test unit/line_test.rb I'd like to know the difference since I'm unable to use the command in the Rails Testing guide (third one). Thanks! Josh -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

