Need Some assistance in Rspec and Cucumber?

hello, i have to use rspec and cucumber in a project and i have no idea how to use it ? help me guys..

thanks nishant

If it does not have to be online and free: Pragmatic Bookshelf: By Developers, For Developers

Markus

Thanks Markus , but i really dont think so that i will able to buy that book…can you provide me with some other source.

The free online tutorial railstutorial.org includes rspec if I remember correctly. Possibly not cucumber though. Did google searches for rspec tutorial and cucumber tutorial not provide anything useful?

Colin

there are few resources on google and i have gone through those resources but my concepts are still not clear…

there are few resources on google and i have gone through those resources but my concepts are still not clear..

Did railstutorial.org not get you started?

Colin

nope !!

there are few resources on google and i have gone through those resources but my concepts are still not clear…

So what exactly don’t you understand?

Fred.

like i want some kind of tutorial that explains these concepts right from the scratch because i consider myself just a naive user when it comes to ruby on rails and i dont have much time to completely gone through the rails concepts …

nope !!

What, you worked right through railstutorial.org (this should take a few days) and it did not get you started with rspec?

Colin

I'm presently a little over halfway through the textbook on railstutorial.org and it does indeed familiarize a person with rspec. Cucumber is not covered, though.

A quick search for "tutorial cucumber" yielded this link:

https://github.com/aslakhellesoy/cucumber/wiki/Tutorials-and-Related-Blog-Posts

And searching for "railscast cucumber" yielded several relevant videos. I've not viewed any of the railscasts but I hear GREAT things. The two top links produced from this search are: railscasts.com/episodes/155-beginning-with-cucumber and railscasts.com/ episodes/159-more-on-cucumber. I suspect they're a good place to start.

Too bad Rails in Action isn’t quite out yet. Co-written by Yehuda Katz and Ryan Biggs, this book starts with Test::Unit before moving onto Rspec and Cucumber. The first several chapters are available online, I believe.

Culley

If you don’t understand the basic concepts of Rails trying to learn Rspec and Cucumber for testing on Rails will just confuse you more. Take the time to get the concepts of Rails down so you can get the maximum advantage from whatever tutorial or book you use to learn RSpec and Cucumber.

B.

Kind of as a side note, the subject of this thread is a bit misleading. It leads a reader to think you're posting some tips for people who need assistance with rspec or cucumber.

You may consider, in the future, considering a more accurate subject. For instance, since you're seeking help, you may want to name your subject/topic "I need help with rspec and cucumber" or "Please help me understand rspec and cucumber."

That way you may attract the right, knowledgeable (helpful) people.

I visited this thread because I'm new to Rails and was hoping to learn more about these two topics.

Cheers,

Dana

http://pragprog.com/titles/achbd/the-rspec-book

Pretty complete overview of the entire process...

hello, i have to use rspec and cucumber in a project and i have no idea how to use it ? help me guys…

http://pragprog.com/titles/achbd/the-rspec-book Pretty complete overview of the entire process…

Or rails test prescriptions: http://www.pragprog.com/titles/nrtest/rails-test-prescriptions

It’s more general (starts with test:unit and fixtures and includes shoulda and other stuff), but in some ways it’s a quicker “getting started” guide.

I have both and would recommend getting both.

Best Wishes,

Peter