Project

pdqtest

0.01
No commit activity in last 3 years
No release in over 3 years
Quick and simple integration tests run inside of a docker container
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 2.0.1
= 0.8.21
= 3.7.0

Runtime

= 1.34.2
= 0.4.0
~> 2.2
= 0.6.1
= 2.6.4
= 12.3.1
~> 0.19
 Project Readme

Build Status

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.

demo Adding PDQTest to a project and running acceptance tests in Docker

PDQTest 2.0 Release notes

PDQTest 2.0 new features:

PDQTest Manual

  1. Installation
  2. Enabling testing
  3. Running tests
  4. Acceptance tests
  5. Windows
  6. PDK Integration
  7. Puppet module dependencies
  8. Test generation
  9. Puppet facts
  10. Hiera
  11. Caching
  12. Emoji
  13. Upgrading
  14. Tips and tricks
  15. Troubleshooting
  16. Examples
  17. Development
  18. Inplace execution
  19. PDQTest 1.x -> 2.x Upgrade guide