Testing tools in ROR

Hello champs,

I have been using ROR from last 6 months so i do not have any too much
ideas about writing test cases. Upto now i have been writing test cases
manually … i mean with assert_statements only…

But now i want to switch myself to testing tool… ?
Can any champs light me up with urls, books or names of tools…

Thanks in advance…
Cheers …

On Mar 22, 10:10 am, Hemant B. [email protected] wrote:

Hello champs,

I have been using ROR from last 6 months so i do not have any too much
ideas about writing test cases. Upto now i have been writing test cases
manually … i mean with assert_statements only…

But now i want to switch myself to testing tool… ?
Can any champs light me up with urls, books or names of tools…

Well there are a variety of additions or replacements to Test::Unit
(such as rspec, shoulda, rr, cucumber,mocha etc.) but they’re not
going to write your tests for you

Fred

:slight_smile: No i will write test myself only. I just want to know that how to
start writing test cases on a specific tool.

Frederick C. wrote:

Well there are a variety of additions or replacements to Test::Unit
(such as rspec, shoulda, rr, cucumber,mocha etc.) but they’re not
going to write your tests for you

Fred

Hemant B. wrote:

:slight_smile: No i will write test myself only. I just want to know that how to
start writing test cases on a specific tool.

I mean can anyone give me the documentation or any available resource …
?

Hemant B. wrote:

Hemant B. wrote:

:slight_smile: No i will write test myself only. I just want to know that how to
start writing test cases on a specific tool.

I mean can anyone give me the documentation or any available resource …
?

As Fred mentioned: (such as rspec, shoulda, rr, cucumber,mocha etc.)

Google one or more of those, find the one that fits your
needs/desires/approach and go from there.

On 22 March 2010 11:16, Hemant B. [email protected] wrote:

Hemant B. wrote:

:slight_smile: No i will write test myself only. I just want to know that how to
start writing test cases on a specific tool.

I mean can anyone give me the documentation or any available resource …

The tutorial in development at http://www.railstutorial.org/ has a
useful introduction to testing with rspec.

Colin