On 1/9/07, Maloy kanti debnath <[EMAIL PROTECTED]> wrote:

1) how to use assert_equal and for what purpose is it used with a simple
example?


From this list (
http://www.mail-archive.com/wtr-general@rubyforge.org/msg04291.html):

require 'test/unit'

class Foo < Test::Unit::TestCase
def test_foo
array_1 = [1,2,3]
array_2 = [1,2,3]

assert_equal(array_1 - array_2 ,[])

end
end


3) Is it preferable to use Eclipse as editor for WATIR or which editor is
prefered for working with WATIR ?


I use Arachno Ruby (http://www.ruby-ide.com/). You can use notepad (comes
with windows), scite (comes with ruby), freeride (comes with ruby). Use the
one you like. Eclipse should be fine, too.
For more information google for ruby ide or search the same at
http://www.mail-archive.com/wtr-general@rubyforge.org/
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to