Merge pull request #373 from enovance/feature/372/sbadia
[spec] Update rake tasks (refs: #372)
This commit is contained in:
commit
61d93d3ba7
@ -106,7 +106,7 @@ Limitations
|
||||
Getting Involved
|
||||
----------------
|
||||
|
||||
Need a feature? Found a bug? Let me know!
|
||||
Need a feature? Found a bug? Let us know!
|
||||
|
||||
We are extremely interested in growing a community of OpenStack experts and users around these modules so they can serve as an example of consolidated best practices of how to deploy openstack.
|
||||
|
||||
|
10
Rakefile
10
Rakefile
@ -17,7 +17,15 @@ PuppetSyntax.exclude_paths = exclude_paths
|
||||
|
||||
|
||||
task(:default).clear
|
||||
task :default => [:spec_prep, :spec_standalone, :lint]
|
||||
task :default => :test
|
||||
|
||||
desc 'Run syntax, lint and spec tests'
|
||||
task :test => [:syntax,:lint,:spec]
|
||||
|
||||
desc 'Run syntax, lint and spec tests (without fixture purge = train/airplane)'
|
||||
task :test_keep => [:syntax,:lint,:spec_prep,:spec_standalone]
|
||||
|
||||
if ENV['COV']
|
||||
desc 'Run syntax, lint, spec tests and coverage'
|
||||
task :cov => [:syntax,:lint,:spec_prep,:spec_standalone]
|
||||
end
|
||||
|
@ -1 +1,5 @@
|
||||
at_exit { RSpec::Puppet::Coverage.report! }
|
||||
require 'spec_helper'
|
||||
|
||||
if ENV['COV']
|
||||
at_exit { RSpec::Puppet::Coverage.report! }
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user