remove cucumber options step_pattern and feature_pattern from /lib/taza/tasks.rb
-
Bret Pettichord
Do you have a suggestion on what we should do? Should we use profiles?
Bret
-
Brandon Faloona
I commented out line 28 and 29 above in my gem sources folder and tested the following with cucumber 0.3.90. It may serve as a good default for watircraft (aside from the task name):
# cucumber.yml default: --no-diff --format progress --format html --out results.htm test\features
rakefile
Cucumber::Rake::Task.new(:default, 'run all cucumber features') do |t| t.profile = "default" end -
Brandon Faloona
- Tag set to rake
Adding profile support would be a nice feature, but for now let's just remove the deprecated options.
Partially as an exercise in learning github, i've commited a fix for this in my fork of watircraft.
http://github.com/bfaloona/watircraft/commit/cbdc90ce03ee0be0db9a9f...I tested this change with feature and step definition files in subdirectories using "rake features".
I also verified that cucumber profiles can be used in conjunction with this change, but the following option might need to be included in any referenced cucumber profile:--require lib/steps
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.