Testing Helm Charts
Testing is a common task that engineers must perform during software development. Testing is performed to validate the functionality of a product, as well as to prevent regressions as a product evolves. Well-tested software is easier to maintain and allows developers to confidently provide new releases to end users.
A Helm chart should be tested properly to ensure that it delivers its features to the level of quality expected. In this chapter, we will discuss the ways that testing can be applied to Helm charts to verify the expected capabilities.
In this chapter, we will cover the following topics:
- Setting up your environment
- Verifying Helm templating
- Testing in a live cluster
- Improving chart tests with the Chart Testing tool
- Cleaning up