DEV Community

Thomas Chisholm for puppet

Posted on

Announcing a New Puppet Code Testing Course: PE502 - Test and Deliver

We are excited to announce a new Puppet course that will transform your approach to testing Puppet code. PE502 - Test and Deliver is a comprehensive course that will equip you with the skills and knowledge necessary to test your Puppet code effectively.

This course will cover three key areas of testing: unit, integration, and acceptance testing. You will learn how to write tests for your Puppet code that cover these critical areas, ensuring your code is robust, accurate and reliable.

Throughout the course, we will focus on using the RSpec testing framework, a powerful tool for writing expressive and maintainable tests. You will learn how to harness RSpec's full potential for testing your Puppet code. The course will include a deep dive into the internals of RSpec and rspec-puppet, giving you a thorough understanding of how these tools work and how to use them effectively. We will also make heavy use of the Puppet Development Kit (PDK) throughout the course.

In addition, we will be introducing just enough of the Ruby language to aid in the testing of Puppet code. We will take a close look at module dependency workflow, including .fixtures.yml and the Puppetfile. We’ll show you step-by-step how to set up an Rspec testing framework, how to test roles and profiles, and how to use Puppet’s Bolt and puppet apply to conduct acceptance testing.

To help you solidify your understanding, the course includes three fully interactive labs where you can practice writing tests for Puppet code in a simulated environment. Regular quizzes will also be provided to assess your understanding and reinforce key concepts.

In addition to RSpec, the course will introduce you to a range of testing tools that can enhance your workflow, including Onceover, Litmus, Beaker, and Serverspec. While specific tools will be covered, the course will emphasize the importance of testing methodology over tooling. You will learn how to approach testing in a way that is flexible and adaptable to different tools and environments.

You will also learn about Continuous Integration/Continuous Deployment (CI/CD) principles, with a focus on using Continuous Delivery for Puppet Enterprise to automate the testing and deployment of your Puppet code.

Throughout the course, you will receive valuable developer tips for working with RSpec and testing Puppet code, based on real-world experience and best practices.

PE502 - Test and Deliver will be offered in both on-demand and instructor-led formats, allowing you to choose the learning style that best suits your needs.

Don't miss this opportunity to take your Puppet code testing skills to the next level. Stay tuned for more details on the course launch date and enrollment information. Master the art of testing Puppet code with PE502 - Test and Deliver and ensure your Puppet code is of the highest quality.

Top comments (0)