ah. So you can run either the cucumber part or the taza part? So potentially I couldn't write specs and then cucumber half would still run?
On Thu, Sep 29, 2011 at 9:19 PM, bis <[email protected]> wrote: > if you look at the whole thing the idea is the page objects > the cucumber features use the taza framework pages and flows > the rspec tests also use the taza framework pages and flows > > It sort of gives you an idea of how you can use the taza framework they are > testing for the exact same things just in 2 different ways > > > On Fri, Sep 30, 2011 at 1:14 AM, weimar <[email protected]> wrote: > >> last question. >> >> In your example, you use some bits of cucumber. May i ask what you get by >> adding that layer of functionality. As far as I can see that the step >> definitons aren't used in any of the specs? >> >> On Thu, Sep 29, 2011 at 6:50 PM, bis <[email protected]> wrote: >> >>> taza doesnt work for 1.9 we have not made the changes to make it work >>> with that version of ruby >>> >>> if you use bundler you add a gemfile something similar to this >>> >>> >>> >>> source :rubygems >>> >>> gem 'taza', :git => '[email protected]:hammernight/taza.git' >>> >>> >>> gem 'cucumber' >>> gem "watir", :platforms => [:mingw, :mswin] >>> >>> >>> >>> then when you run your rake task you would need to use >>> bundle exec rake since its using a different version of rake that is not >>> the newest >>> >>> >>> >>> On Thu, Sep 29, 2011 at 10:48 PM, weimar <[email protected]> wrote: >>> >>>> Which gemfile? >>>> >>>> Have the commands to run the the rakes changed? >>>> >>>> Would there be issues If i was using ruby 1.9.1? >>>> >>>> On Thu, Sep 29, 2011 at 6:40 PM, bis <[email protected]> wrote: >>>> >>>>> No it will not. It is forked from taza but not merged if you did want >>>>> to use it you would have to build your own gem or use bundler >>>>> adding this to your gemfile would work >>>>> gem 'taza', :git => '[email protected]:hammernight/ >>>>> taza.git' >>>>> >>>>> as far as the rakefile goes i will have to look at that rspec too i >>>>> have been using rspec spec but if you use bundler you can do bundle exec >>>>> rake and see if that makes a difference >>>>> >>>>> i have an example of using taza here and it works fine >>>>> ruby 1.8.7 and watir but you can also modify this a bit and make it >>>>> use watir-webdriver just change the config and require it >>>>> https://github.com/hammernight/etsy_cucumber_taza_tutorial >>>>> >>>>> >>>>> On Thu, Sep 29, 2011 at 9:29 PM, hillary <[email protected]> wrote: >>>>> >>>>>> while i have someone involved here. >>>>>> >>>>>> Is this fork completely ready to use? Like if i ran the gem >>>>>> update/install taza would i be given this branch? I download the zip file >>>>>> and replaced the contents in the taza folder in my gem library with the >>>>>> contents from this folder. When I try to run a rake i get this error: >>>>>> c:/Ruby192/lib/ruby/gems/1.9.1/gems/taza-0.8.7/lib/extensions/object.rb:2:in >>>>>> `<top >>>>>> (required)>': uninitialized constant Object::VERSION (NameError) >>>>>> >>>>>> -- >>>>>> Before posting, please read http://watir.com/support. In short: >>>>>> search before you ask, be nice. >>>>>> >>>>>> [email protected] >>>>>> http://groups.google.com/group/watir-general >>>>>> [email protected] >>>>>> >>>>> >>>>> -- >>>>> Before posting, please read http://watir.com/support. In short: search >>>>> before you ask, be nice. >>>>> >>>>> [email protected] >>>>> http://groups.google.com/group/watir-general >>>>> [email protected] >>>>> >>>> >>>> -- >>>> Before posting, please read http://watir.com/support. In short: search >>>> before you ask, be nice. >>>> >>>> [email protected] >>>> http://groups.google.com/group/watir-general >>>> [email protected] >>>> >>> >>> -- >>> Before posting, please read http://watir.com/support. In short: search >>> before you ask, be nice. >>> >>> [email protected] >>> http://groups.google.com/group/watir-general >>> [email protected] >>> >> >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] >> http://groups.google.com/group/watir-general >> [email protected] >> > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
