# Test driven development in Rails using fixtures and rake

**URL:** <https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418>\
**Category:** Ruby\
**Created:** [March 20, 2007, 11:54am UTC](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418 "2007-03-20T11:54:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayanktoc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mayanktoc](https://www.ruby-forum.com/u/mayanktoc)\
**Post date:** [March 20, 2007, 11:54am UTC](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418/1 "2007-03-20T11:54:32Z")

</div>

Hi There,

“Test driven development in Rails using fixtures and rake”.  
Can anyone give me suggestion that how I can test the Ruby and Rails  
application through Fixtures and Rake?

I am desperately waiting for your meaningful response.

Thanks in Advance,  
Mayank

---

<div class="post-metadata">

**Author:** ![mayanktoc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mayanktoc](https://www.ruby-forum.com/u/mayanktoc)\
**Post date:** [March 20, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418/2 "2007-03-20T21:00:36Z")

</div>

On Tue, Mar 20, 2007 at 07:54:35PM +0900, Mayank Srivastava wrote:

> “Test driven development in Rails using fixtures and rake”.  
> Can anyone give me suggestion that how I can test the Ruby and Rails  
> application through Fixtures and Rake?
> 
> I am desperately waiting for your meaningful response.
> 
> Thanks in Advance,  
> Mayank

OK, we seem to have a surfeit of these sorts of post 🙂 I’m not sure  
whether the best thing to do is to ignore, or to answer. But I’ll answer  
this one.

Firstly, this is not the Rails mailing list. This is the Ruby language  
mailing list. Asking about Rails on a Ruby list is rather like asking  
about  
Unix system administration on a C programming list.

Secondly, a mailing list is generally not a place to ask “please tell me  
about X”. The hidden subtext of your question is: “because I couldn’t be  
bothered to google or to read the documentation, and actually I don’t  
have  
much of a clue about what I’m trying to _do_, because if I did, I would  
be  
describing what I tried and what problems I came across when I tried”

This is a very friendly and accommodating mailing list, but I’m afraid  
your  
post isn’t likely to get a positive response. You can get advice on how  
to  
get good responses from mailing lists at  
[http://www.catb.org/~esr/faqs/smart-questions.html#intro](http://www.catb.org/~esr/faqs/smart-questions.html#intro)

However, I will give you a positive response now: there is excellent  
documentation on test fixtures and unit testing in Rails in the book  
“Agile  
Web D. with Rails”. You can buy this as an instant-download PDF  
from [http://www.pragmaticprogrammer.com/](http://www.pragmaticprogrammer.com/) for just $23.50. It’s full of  
examples and it will almost certainly give you all the hand-holding you  
need  
with all aspects of Rails. If not, then you can ask specific questions  
on  
the Rails google group about what particular thing you don’t understand,  
and  
I’m sure someone will help you.

Regards,

Brian.

---

<div class="post-metadata">

**Author:** ![mayanktoc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mayanktoc](https://www.ruby-forum.com/u/mayanktoc)\
**Post date:** [March 21, 2007, 7:15am UTC](https://www.ruby-forum.com/t/test-driven-development-in-rails-using-fixtures-and-rake/89418/3 "2007-03-21T07:15:54Z")

</div>

Thanks Brain
