puppet-limesurvey/CONTRIBUTING.md

29 lines
617 B
Markdown
Raw Normal View History

2016-09-08 10:59:56 +00:00
# Testing
## Prerequisites
`Docker` and `ruby` need to be installed on the local machine.
## Running Tests
After cloning the repository the testing environment should be set up on the
local machine:
```
$ bundle install --path vendor/bundle
$ bundle exec rake
```
With running `rake` the whole testsuite is triggered, this
includes:
* puppet syntax validation
* code-style enforcement (with `puppet-lint`)
* unit-tests (with `rspec-puppet`)
* acceptance-tests (with `beaker-rspec`)
## Coding Standards
* All variables are defined in the base manifest (init.pp)
* No more than 140 characters per line