Re: [rspec-users] [Cucumber] after feature hook?

2009-01-14 Thread Joseph Wilk
aidy lewis wrote: Hi, Is there a hook or a method to execute some code after a whole feature has run or will I need to embed that in a 'Then'? There are currently no before/after feature hooks. http://github.com/aslakhellesoy/cucumber/wikis/hooks Also if you want something to happen

[rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread aidy lewis
Hi, Is there a hook or a method to execute some code after a whole feature has run or will I need to embed that in a 'Then'? Regards Aidy ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread aidy lewis
Hi Joe, Aslak 2009/1/5 Joseph Wilk j...@josephwilk.net: aidy lewis wrote: Hi Alsak, I am finding it difficult to separate my Acceptance Tests unless I have lengthy scenarios. One scenario would be one sequence of action etc - until a goal is reached. At the end of the feature, I would

Re: [rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread Joseph Wilk
aidy lewis wrote: Hi, Is there a hook or a method to execute some code after a whole feature has run or will I need to embed that in a 'Then'? There are currently no before/after feature hooks. http://github.com/aslakhellesoy/cucumber/wikis/hooks Also if you want something to happen

Re: [rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread aidy lewis
Hi Alsak, I am finding it difficult to separate my Acceptance Tests unless I have lengthy scenarios. One scenario would be one sequence of action etc - until a goal is reached. At the end of the feature, I would like the browser to close: If the browser closes on each scenario - they I have to

Re: [rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread Joseph Wilk
aidy lewis wrote: Hi Alsak, I am finding it difficult to separate my Acceptance Tests unless I have lengthy scenarios. One scenario would be one sequence of action etc - until a goal is reached. At the end of the feature, I would like the browser to close: So you are using scenarios to get

Re: [rspec-users] [Cucumber] after feature hook?

2009-01-05 Thread aslak hellesoy
On Mon, Jan 5, 2009 at 3:12 PM, aidy lewis aidy.le...@googlemail.comwrote: Hi Alsak, I am finding it difficult to separate my Acceptance Tests unless I have lengthy scenarios. One scenario would be one sequence of action etc - until a goal is reached. At the end of the feature, I would