Hi All
I am newbie to the Ruby language and just started going through the documentation.
I wanted to know,is there any unit testing framework to unit test the developed code in ruby.
(Similar to junit for the Java unit testing)
Thanks
Meghanath
Hi All
I am newbie to the Ruby language and just started going through the documentation.
I wanted to know,is there any unit testing framework to unit test the developed code in ruby.
(Similar to junit for the Java unit testing)
Thanks
Meghanath
Test::Unit comes standard with Ruby nowadays.
http://www.ruby-doc.org/stdlib/libdoc/test/unit/rdoc/
On 11/1/05, Chintakrindi Meghanath <Meghanath@nextlinx.com> wrote:
Hi All
I am newbie to the Ruby language and just started going through the documentation.
I wanted to know,is there any unit testing framework to unit test the developed code in ruby.
(Similar to junit for the Java unit testing)Thanks
Meghanath
You want Test::Unit, there's an article available at:
http://www-128.ibm.com/developerworks/edu/os-dw-os-ruby1-i.html
HtH
-pate
On 11/1/05, Chintakrindi Meghanath <Meghanath@nextlinx.com> wrote:
Hi All
I am newbie to the Ruby language and just started going through the documentation.
I wanted to know,is there any unit testing framework to unit test the developed code in ruby.
(Similar to junit for the Java unit testing)Thanks
Meghanath
Hi
I recently posted a Domain Specific Language (a wrapper to Test::Unit,
actually) to make unit testing in Ruby look more "rubyish". It's still
pretty much experimental but you are welcome to give it a look and
comment back.
You can find the thread here
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/af6f20fbdfe3d09c
and a small tutorial here
http://www.theniceweb.com/JaviersBlog/2005/10/tesla-test-specific-language-for-ruby.html