You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

617 B

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