Tool for testing application in RoR

Hi,

I am very new to RoR.
I want to know which automation tool we can use for testing application
in RoR.

Please help me.

Thanks in advance,

Regards,
Vedika

beneath the testsuite that comes with rails you can use rspec instead,
which adds some funcs and has a better syntax

http://rspec.rubyforge.org/index.html

Is that a automation tool like QTP , Rational functional tester?

Hi Vedika,

To do the functional tests / user acceptance tests, you can use selenium
(
http://www.openqa.org/selenium/)

Regards,

Rafael Mueller

Vedika Ss wrote:

Is that a automation tool like QTP , Rational functional tester?

i never worked with QTP, which seems to be focused on desktop
applications (?)
RoR comes with it’s own integrated test suite in which you can run tests
from the commandline, functional and unit tests

rspec exchanges this tests with a different syntax for writing tests and
some more functionality.

Thanks for the valuable information.

Then how the GUI testing is done for the applicaiton developed in RoR?
Is there any GUI testing tool?

Thanks a lot Rafael!!!

Thanks Thorsten!!!

Vedika Ss wrote:

Thanks for the valuable information.

Then how the GUI testing is done for the applicaiton developed in RoR?
Is there any GUI testing tool?

if we accept GUI for HTML :wink:
then:

in your tests you make a get/post/put… and evaluate the returned html
with
assert_response and check for specific content with assert_select

this will give you an overview:
http://manuals.rubyonrails.com/read/book/5