PE502 - Test and Deliver
Available for use with a subscription license or payment.
PE502 Test and Deliver will cover three key areas of testing:
Unit
Integration
Acceptance
You will learn how to write tests for your Puppet code that cover these critical areas, ensuring your code is robust, accurate and reliable. In this one-day, instructor-led course, we'll teach you the best practices gleaned from the journeys of our most successful customers.
In this course, you'll learn how to:
- Test your Puppet code effectively using unit, integration, and acceptance testing.
- Write tests for your Puppet code that cover these critical areas, ensuring your code is robust, accurate, and reliable.
- Use the RSpec testing framework to write expressive and maintainable tests.
- Understand the internals of RSpec and rspec-puppet.
- Use the Puppet Development Kit (PDK) throughout the course.
- Understand just enough of the Ruby language to aid in the testing of Puppet code.
- Understand module dependency workflow, including .fixtures.yml and the Puppetfile.
- Set up an Rspec testing framework, test roles and profiles, and use Puppet’s Bolt and puppet apply to conduct acceptance testing.
- Participate in three fully interactive labs where you can practice writing tests for Puppet code in a sandbox environment.
- Examine a range of testing tools that can enhance your workflow, including Onceover, Litmus, Beaker, and Serverspec.
- Approach testing in a way that is flexible and adaptable to different tools and environments.
- Understand 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.
- Receive valuable developer tips for working with RSpec and testing Puppet code, based on real-world experience and best practices.
Concepts covered include:
- Puppet Code Testing
- Rspec testing framework
- Three levels of testing: Unit, Integration and Acceptance
- Continuous Integration and Continuous Deliver
Continue your journey on the path to Puppet certification
Completing PE 502: Test and Deliver takes you one step further along the path to acing the Puppet Certified Professional exam — a credential that proves to the job market you’ve got those highly sought-after skills in IT automation.
We also strongly recommend that you take the first three courses in this series: Puppet Enterprise 101: Deploy & Discover, Puppet Enterprise 201: Design & Manage, and Puppet Enterprise 301: Develop & Maintain.
Ask yourself: Am I ready for this?
This course is for you if you're familiar with the basics of Puppet software and are a site reliability engineer (SRE), sysadmin, or DevOps engineer who manages Windows or Linux. You should already know how to complete these tasks in Puppet Enterprise:
- Build, extend, and test modules that are self-contained and encapsulate the components of a given software application.
- Designate node groups so that you can deploy code to specific environments.
- Perform unit testing and syntax validation using Puppet Development Kit.
Be sure to check out the self-assessment checklist in the student prep guide so you’re prepared to get the most out of Puppet Enterprise 502: Test and Deliver. You can use the links that we provided to help you get up to speed where needed.