Hi all,
I am new to the RSpec, I have many questions related to the RSpec.
- Why one should use RSpec instead of other testing technique
- Which are the best tools than RSpec
- Where can i get RSpec demo
Hi all,
I am new to the RSpec, I have many questions related to the RSpec.
On Jan 30, 10:35 am, Ravi S. [email protected] wrote:
Hi all,
I am new to the RSpec, I have many questions related to the RSpec.
- Why one should use RSpec instead of other testing technique
RSpec is designed for Behavior Driven Development, whereas many
testing tools are designed for Test Driven Development or even post-
development testing. So basically, your question could be rephrased
as “What are the benefits of Behavior Driven Development?” Here are a
few places to look for more introductory material:
http://behaviour-driven.org/Introduction
- Which are the best tools than RSpec
Many people use RSpec with Cucumber. In fact, the RSpec book (linked
below) talks about how to use both of them for effective behavior
driven development. It’s important to remember that tools cannot be
measured on an abstract, absolute scale. (i.e. There is no best
tool because some tools were designed to do different things.) RSpec
is often compared to Ruby’s built-in unit testing framework
(Test::Unit), and many people like the shoulda macros that work with
either RSpec or Test::Unit.
RSpec book: Pragmatic Bookshelf: By Developers, For Developers
Test::Unit: Ruby Programming/Unit testing - Wikibooks, open books for an open world
Shoulda macros: GitHub - thoughtbot/shoulda: Makes tests easy on the fingers and the eyes
- Where can i get RSpec demo
There are several demos available online. Here’s a demo that shows
RSpec, Test::Unit, and Cucumber using Ruby on Rails:
There’s also a lengthy introduction to RSpec available on PeepCode:
http://peepcode.com/products/rspec-basics
I hope that helps!
What is the difference between test driven development & behavior driven
development, which one is better.
what are the options available in BDD.
On Jan 31, 2010, at 9:13 AM, Ravi S. wrote:
What is the difference between test driven development & behavior driven
development, which one is better.what are the options available in BDD.
Make up a simple project like a blog that you can do in couple of hours.
Try it using one, then the other technology. See which you like better.
Your research will be the ultimate arbiter of which is better for you
and your project. Nobody can tell you which will feel more natural to
you.
On Jan 31, 2010, at 5:13 pm, Ravi S. wrote:
What is the difference between test driven development & behavior driven
development, which one is better.
The link to behaviour-driven.org that Tristam already posted[1] tells
you exactly that. Did you read it?
I’m having flashbacks to an older thread here :-/
what are the options available in BDD.
Your question is not clear. Can you be more specific?
Ashley
[1] Behaviour-Driven Development in Gambling: Better Casino Software
–
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs