mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
Merge pull request #37 from chef/kitchen-test
run kitchen test instead of converge
This commit is contained in:
commit
f832001f10
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ rake test:runner
|
||||||
CONCURRENCY=3 rake test:runner
|
CONCURRENCY=3 rake test:runner
|
||||||
```
|
```
|
||||||
|
|
||||||
This will go to `test/runner` and run `kitchen converge`. You can test specific
|
This will go to `test/runner` and run `kitchen test`. You can test specific
|
||||||
operating systems and configurations via test-kitchen.
|
operating systems and configurations via test-kitchen.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
2
Rakefile
2
Rakefile
|
@ -40,6 +40,6 @@ namespace :test do
|
||||||
task :runner do
|
task :runner do
|
||||||
concurrency = ENV['CONCURRENCY'] || 4
|
concurrency = ENV['CONCURRENCY'] || 4
|
||||||
path = File.join(File.dirname(__FILE__), 'test', 'runner')
|
path = File.join(File.dirname(__FILE__), 'test', 'runner')
|
||||||
sh('sh', '-c', "cd #{path} && kitchen converge -c #{concurrency}")
|
sh('sh', '-c', "cd #{path} && kitchen test -c #{concurrency}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue