PDQTest
PDQTest - Puppet Docker Quick-test - is the quickest and easiest way to test your puppet modules. PDQTest features tests for:
- Linting
- Syntax
- RSpec
- Acceptance (BATS-core)
And can generate code to retrofit testing to a new or existing module, along with skeleton RSpec and acceptance tests to get you started.
PDQTest runs linting, syntax and RSpec 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.
Adding PDQTest to a project and running acceptance tests in Docker