Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Andrew Premdas
A style thing, just exploring interactions between features and UI 2008/12/19 David Chelimsky > Is this a feature request or a style thing? > > On Fri, Dec 19, 2008 at 11:01 AM, Aslak Hellesøy > wrote: > > > >> On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas > >> wrote: > >>> > >>> Hi All, > >

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Andrew Premdas
Was just using your code as an example, not being critical of it. Sorry if it came out that way :). In its context it makes its point very clearly. Andrew 2008/12/19 Aslak Hellesøy > > On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas >> wrote: >> >>> Hi All, >>> >>> Wanted to put this idea for

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Zach Dennis
On Fri, Dec 19, 2008 at 1:13 PM, David Chelimsky wrote: > Is this a feature request or a style thing? I believe strictly style. Webrat supports within already, ie: within "#my-css-selector" do |scope| scope.should have_selector("child element") end > > On Fri, Dec 19, 2008 at 11:01 AM, Aslak

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread David Chelimsky
Is this a feature request or a style thing? On Fri, Dec 19, 2008 at 11:01 AM, Aslak Hellesøy wrote: > >> On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas >> wrote: >>> >>> Hi All, >>> >>> Wanted to put this idea forward, see what you think of it. I'm using >>> Aslaks >>> lorry feature to illustra

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Aslak Hellesøy
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: Hi All, Wanted to put this idea forward, see what you think of it. I'm using Aslaks lorry feature to illustrate this. See http://github.com/aslakhellesoy/cucumber_rails/tree/master/features/step_definitions/lorry_steps.rb . In part

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Zach Dennis
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: > Hi All, > > Wanted to put this idea forward, see what you think of it. I'm using Aslaks > lorry feature to illustrate this. See > http://github.com/aslakhellesoy/cucumber_rails/tree/master/features/step_definitions/lorry_steps.rb. > > In par

Re: [rspec-users] Using semantics in steps

2008-12-19 Thread Peter Jaros
On Fri, Dec 19, 2008 at 1:09 AM, Andrew Premdas wrote: > then we have > > 1) Defined semantic tags that the designer should not touch > 2) Not relied on any html elements that a designer might change > 3) Created a step that works with the meaning of the UI not its presentation > > So what do you