Displaying 2 results from an estimated 2 matches for "specification_name".
2006 Oct 21
2
Usage Error
...lib/ruby/gems/1.8/gems/rspec-0.6.4/bin/spec"
Usage: spec [options] (FILE|DIRECTORY|GLOB)+
--diff Show unified diff of Strings
that are expected to be equal when they are not
-c, --colour, --color Show coloured (red/green) output
-s, --spec SPECIFICATION_NAME Execute a single specification
-f, --format FORMAT Builtin formats: specdoc|s|rdoc|
r|html|h
You can also specify a custom
formatter class
(in which case you should also
specify --require)
-r,...
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
....colour = true
end
+ opts.on("-C", "--force-colour", "--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&...