---
title: Rake Task
inMenu: true
---
h2. Rake Task
RSpec comes with a Rake task for executing specs.
See "Spec::Rake::SpecTask":../rdoc/classes/Spec/Rake/SpecTask.html for details.
h3. Run specs
Also see the "RCov":rcov.html page for info about how to generate a coverage report.
h3. Generate specdocs
This will output the specdocs to a file, which can be included in your RDoc.
Just like "this":../rdoc/files/EXAMPLES_rd.html.