I have recently started to use watircraft to organize my test cases. I really like the benefits watircraft provides when trying to manage and scale a large number of test. The problem I am having is I have two test each with the same GIVEN in the feature. This was never a problem in the past because of the directory structure used in cucumber. Now when I run all the test at once using 'rake features' I get the following error :
lib/steps/binding_type_steps.rb:6:in `/^I am on the properties tab$/' lib/steps/trim_size_steps.rb:6:in `/^I am on the properties tab$/' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/step_mother.rb:91:in `each' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/step_mother.rb:91:in `Given' from ./lib/steps/trim_size_steps.rb:6 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `polyglot_original_require' from /Library/Ruby/Gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in `require' from /Users/kshaw/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' from /Users/kshaw/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' from /Users/kshaw/.gem/ruby/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:76:in `require_files' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:74:in `each' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:74:in `require_files' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:34:in `execute!' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in `execute' from /Library/Ruby/Gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6 rake aborted! Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...] Does anyone have any idea how I can solve this issue? -Keith --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---