Monthly Archives: August 2009

Quick example of testing login form with mechanize and Test::Unit

I started testing with Ruby. So i first use Test::Unit and then i want to test some functionality on web. I read some examples at mechanize documentation, which is here or at your ruby/gems directory. So let’s look at the … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Multiline comments in Ruby

Do you want comment more than one row ? So use multiline comment like this : =begin your code =end Important rule, this code must be at the begining of row. PS: This code isn’t  exactly for comments, but you … Continue reading

Posted in Uncategorized | Tagged | Leave a comment