Class | RSpec::Core::RakeTask |
In: |
lib/rspec/core/rake_task.rb
|
Parent: | ::Rake::TaskLib |
fail_on_error | [RW] |
Whether or not to fail Rake when an error occurs
(typically when examples fail).
default: true |
failure_message | [RW] | A message to print to stderr when there are failures. |
name | [RW] |
Name of task.
default: :spec |
pattern | [RW] |
Glob pattern to match files.
default: 'spec/**/*_spec.rb' |
rcov | [RW] |
Use rcov for code coverage?
default: false |
rcov_opts | [RW] |
Command line options to pass to rcov.
default: nil |
rcov_path | [RW] |
Path to rcov.
default: 'rcov' |
rspec_opts | [RW] |
Command line options to pass to rspec.
default: nil |
rspec_path | [RW] |
Path to rspec
default: 'rspec' |
ruby_opts | [RW] |
Command line options to pass to ruby.
default: nil |
verbose | [RW] |
Use verbose output. If this is set to true, the task will print the
executed spec command to stdout.
default: true |
warning | [R] |
Deprecated. Use ruby_opts="-w" instead.
When true, requests that the specs be run with the warning flag set. e.g. "ruby -w" default: false |
Deprecated and has no effect. The rake task now checks ENV[‘BUNDLE_GEMFILE’] instead.
Name of Gemfile to use.
default:
Gemfile
Deprecated and has no effect. The rake task now checks ENV[‘BUNDLE_GEMFILE’] instead.
By default, if there is a Gemfile, the generated command will include ‘bundle exec’. Set this to true to ignore the presence of a Gemfile, and not add ‘bundle exec’ to the command.
default:
false