Cheap Automated Testing 2
Date Thursday, October 28 @ 16:04:55
Topic Automated Testing


Today's article will be short but sweet. If you want to roll your own automated testing, I recommend using the scripting language Ruby. Why?
Today's article will be short but sweet. If you want to roll your own automated testing, I recommend using the scripting language Ruby. Why?

Ruby offers many of the tools that an automated tester wants:

1) Easy to script.
2) Objects, objects, objects.
3) It's logical. If you code it, and you have to make a quick guess, the code will probably work.
4) It's powerful. Items coded in Perl can be coded more easily in Ruby with fewer lines of code.
5) It's easy to learn.
6) GUI interfaces aren't that hard to code, especially if you use FXRuby.
7) Mock objects for testing purposes!
8) RubyTest is a fantastic testing harness.
9) It's free.

There are some bonuses too.
10) Internationalization is easier because Ruby was originally created in Japan... no need to worry about double-byte encoding!
11) It's cross-platform ... Windows, Linux, Unix, Mac OS... there are versions of Ruby for each one.
12) With a bit of work and study, you can integrate it into MS software, such as IE, Word, Excel!

There's more, naturally, but I'm short on time today so this list will have to do.

Convinced? Well, here's where you can find out more... check out http://www.ruby-lang.org for more!


This article comes from QAPOW.COM
http://www.webbico.com/qapow/html/

The URL for this story is:
http://www.webbico.com/qapow/html/modules.php?op=modload&name=News&file=article&sid=9