PDQTest
PDQTest - Puppet Docker Quick-test - is the quickest and easiest way to test your puppet modules for Linux and Windows.
PDQTest features:
- Static analysis testing (PDK):
- Metadata
- Syntax
- Linting
- RSpec
- Acceptance testing for Linux and Windows:
PDQTest acceptance tests can be retrofitted to and PDK enabled module by running
pdqtest init
.
PDQTest runs static analysis tests within the machine it is running from and then loads a docker container to perform acceptance testing, sharing the puppet module and cached dependencies from your host.
This way you can destructively test your module without risking the host.
Adding PDQTest to a project and running acceptance tests in Docker
PDQTest 2.0 Release notes
PDQTest 2.0 new features: