Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread David Chelimsky
On Sun, Jan 31, 2010 at 5:28 PM, Phillip Koebbe wrote: > > Rick DeNatale wrote: >> >> On Sun, Jan 31, 2010 at 4:55 PM, Phillip Koebbe >>  wrote: >> >>> >>> David Chelimsky wrote: >>> Done: http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_op

Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread Phillip Koebbe
Rick DeNatale wrote: On Sun, Jan 31, 2010 at 4:55 PM, Phillip Koebbe wrote: David Chelimsky wrote: Done: http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature Cool stuff! Does that match the describe groups as well? I would li

Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread David Chelimsky
On Sun, Jan 31, 2010 at 3:55 PM, Phillip Koebbe wrote: > David Chelimsky wrote: >> >> Done: >> >> http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature > > Cool stuff! > > Does that match the describe groups as well? I would like to be able to run > all o

Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread Rick DeNatale
On Sun, Jan 31, 2010 at 4:55 PM, Phillip Koebbe wrote: > > > David Chelimsky wrote: >> >> Done: >> >> http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature >> >> > > Cool stuff! > > Does that match the describe groups as well? I would like to be able to r

[rspec-users] GET a path in a controller spec

2010-01-31 Thread Nick Hoffman
One of my controller actions sends a redirect if the request URI begins with /foods/search 34 def search 35return redirect_to "/#{params[:name]}" if request.request_uri.match /^\/foods\/search/ Unfortunately, I can't figure out how to spec this. >From everything that I've read while res

Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread Phillip Koebbe
David Chelimsky wrote: Done: http://github.com/rspec/rspec-core/blob/master/features/command_line/example_name_option.feature Cool stuff! Does that match the describe groups as well? I would like to be able to run all of the examples in either "first group" or "second group". Will it

Re: [rspec-users] somewhat confused by the help instructions...

2010-01-31 Thread David Chelimsky
On Sat, Jan 30, 2010 at 8:38 AM, David Chelimsky wrote: > On Sat, Jan 30, 2010 at 7:31 AM, Matt Wynne wrote: >> >> On 30 Jan 2010, at 06:45, David Chelimsky wrote: >> >>> On Thu, Jan 28, 2010 at 12:54 PM, rogerdpack >>> wrote: As a note of feedback, when I do a spec --help, I saw this

Re: [rspec-users] What is difference between TDD & BDD

2010-01-31 Thread steve ross
On Jan 31, 2010, at 9:13 AM, Ravi Shankar 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

Re: [rspec-users] What is difference between TDD & BDD

2010-01-31 Thread Ashley Moran
On Jan 31, 2010, at 5:13 pm, Ravi Shankar 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

[rspec-users] What is difference between TDD & BDD

2010-01-31 Thread Ravi Shankar
What is the difference between test driven development & behavior driven development, which one is better. what are the options available in BDD. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://ru

Re: [rspec-users] Why we use RSpec

2010-01-31 Thread Tristam29
On Jan 30, 10:35 am, Ravi Shankar wrote: > Hi all, > > I am new to the RSpec, I have many questions related to the RSpec. > > 1. 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 D