Overview
Explore charm unit and integration testing in this recorded Masterclass from April 2024. Learn how to write unit tests for charm code using the built-in Harness and Scenario, and discover the basics of writing and running integration tests with pytest-operator. Dive into practical examples and best practices for testing Juju charms, guided by Pietro Pasotti from Canonical Ubuntu. Gain valuable insights into the charm lifecycle, workload control flow, and essential documentation resources. Access additional materials, including the introduction to charming repository and Juju SDK documentation, to further enhance your understanding of charm development and testing techniques.
Syllabus
Introduction to Juju and Charms Part III: Charm Unit and Integration Testing
Taught by
Canonical Ubuntu