Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/87531
Change subject: doc how to run rspec tests in the rakefile ...................................................................... doc how to run rspec tests in the rakefile Change-Id: I33ec86a1f7aaba8c11de1ea8d5e7d72d9c3e4016 --- M rakefile 1 file changed, 11 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/31/87531/1 diff --git a/rakefile b/rakefile index 34ba826..f0d3277 100644 --- a/rakefile +++ b/rakefile @@ -4,7 +4,7 @@ puppet-lint gems: $ sudo gem install puppet - $ sudo gem instlal puppet-lint + $ sudo gem install puppet-lint Then run the linter using rake (a ruby build helper): @@ -15,7 +15,16 @@ puppet-lint doc is at https://github.com/rodjek/puppet-lint - -- hashar 20120216 + +Another target is spec, which runs unit/integration tests. You will need some +more gems installed: + + $ sudo gem install puppet rspec puppetlabs_spec_helper + +Then: + + $rake spec + =end $enable_color=false -- To view, visit https://gerrit.wikimedia.org/r/87531 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I33ec86a1f7aaba8c11de1ea8d5e7d72d9c3e4016 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Hashar <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
