# Testing tools in ROR

**URL:** <https://www.ruby-forum.com/t/testing-tools-in-ror/185534>\
**Category:** Rails\
**Created:** [March 22, 2010, 11:10am UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534 "2010-03-22T11:10:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 11:10am UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/1 "2010-03-22T11:10:44Z")

</div>

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 …

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 12:12pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/2 "2010-03-22T12:12:54Z")

</div>

On Mar 22, 10:10 am, Hemant B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/3 "2010-03-22T12:16:02Z")

</div>

🙂 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

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 12:16pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/4 "2010-03-22T12:16:37Z")

</div>

Hemant B. wrote:

> 🙂 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 …  
?

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 2:09pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/5 "2010-03-22T14:09:08Z")

</div>

Hemant B. wrote:

> Hemant B. wrote:
> 
> > 🙂 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.

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [March 22, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/testing-tools-in-ror/185534/6 "2010-03-22T14:43:20Z")

</div>

On 22 March 2010 11:16, Hemant B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hemant B. wrote:
> 
> > 🙂 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/](http://www.railstutorial.org/) has a  
useful introduction to testing with rspec.

Colin
