Displaying 1 result from an estimated 1 matches for "spec_name".
Did you mean:
spec_namd
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
...uot;--force-color", "force
adding color codes regardless of output method") do
+ options.force_colour = true
+ end
+
opts.on("-s", "--spec SPECIFICATION_NAME", "Execute
context or specification with matching name") do |spec_name|
options.spec_name = spec_name
end
then you can set the spec_command in rspec_autotest/lib/
rspec_autotest.rb to:
@spec_command = "script/rails_spec -C --diff unified"
Cheers,
Michael