Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Jonathan Linowes
I'm no mathematician, but perhaps there's some notation from set theory that could be helpful? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Nigel Thorne
> (on a aside note: what would examples look like if both ideas get > implemented? I'm afraid it'll be confusing.) > > > > I agree that in defining the rules that define the behaviour those > > > situations are equivalent. > > > > > > However, as the examples _are the tests_ we need both as we need

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Kero van Gelder
> sorry.. the first point.. you're right this feature is to do with tables > too, however this feature is orthogonal to the other one, so I decided to > start a new thread ... I hope that was right. Sure, just wanted to make sure you'd seen the other thread. (on a aside note: what would example

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Nigel Thorne
Hi Kero.. I agree that in defining the rules that define the behaviour those situations are equivalent. However, as the examples _are the tests_ we need both as we need to test both those scenarios so the testers have confidence the feature is working in all situations. It's being a really good

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Nigel Thorne
sorry.. the first point.. you're right this feature is to do with tables too, however this feature is orthogonal to the other one, so I decided to start a new thread ... I hope that was right. Cheers Nigel 2009/4/23 Nigel Thorne > Hi Kero.. > > I agree that in defining the rules that define th

Re: [rspec-users] [Cucumber] Options in tables

2009-04-22 Thread Kero van Gelder
> In Cucumber I want to remove duplication from my examples tables. > see http://gist.github.com/99516 for an example of the type of situation I > am facing. > > I would like the second example to be equivalent to the first. > > To do this... I need cucumber to read a row in the examples and noti

[rspec-users] [Cucumber] Options in tables

2009-04-21 Thread Nigel Thorne
In Cucumber I want to remove duplication from my examples tables. see http://gist.github.com/99516 for an example of the type of situation I am facing. I would like the second example to be equivalent to the first. To do this... I need cucumber to read a row in the examples and notice the 'option