Class RSpec::Core::RakeTask
In: lib/rspec/core/rake_task.rb
Parent: ::Rake::TaskLib

Methods

new  

Attributes

fail_on_error  [RW]  Whether or not to fail Rake when an error occurs (typically when examples fail). Defaults to true.
failure_message  [RW]  A message to print to stderr when there are failures.
name  [RW]  Name of task. (default is :spec)
pattern  [RW]  Glob pattern to match files. (default is ‘spec/**/*_spec.rb’)
rcov  [RW]  Use rcov for code coverage? defaults to false
rcov_opts  [RW]  The options to pass to rcov. Defaults to blank
rcov_path  [RW]  Path to rcov. You can set this to ‘bundle exec rcov’ if you bundle rcov.
ruby_opts  [RW]  The options to pass to ruby. Defaults to blank
spec_opts  [RW]  Array of commandline options to pass to RSpec. Defaults to [].
verbose  [RW]  Use verbose output. If this is set to true, the task will print the executed spec command to stdout. Defaults to false.
warning  [RW]  If true, requests that the specs be run with the warning flag set. E.g. warning=true implies "ruby -w" used to run the specs. Defaults to false.

Public Class methods

[Validate]