Introduction to Juju and Charms Part III: Charm Unit and Integration Testing

Estimated read time 1 min read

Post Content

​ Recording of a Masterclass that took place in April 2024. In this session Pietro Pasotti shows you how to write unit tests for charm code with the built-in Harness and Scenario. Finally, he briefly discusses writing and running integration tests with pytest-operator.

An introduction to Charming: https://github.com/canonical/intro-to-charming-mc
Masterclass Repository: github.com/PietroPasotti/intro-to-charming-mc
Juju SDK docs Charm SDK Documentation: https://juju.is/docs/sdk
A Charm Lifecycle: https://discourse.charmhub.io/t/charm-lifecycle/5938
Talking to a Workload Control Flow from A to Z: https://discourse.charmhub.io/t/talking-to-a-workload-control-flow-from-a-to-z/6161   Read More Canonical Ubuntu 

#linux

You May Also Like

More From Author

+ There are no comments

Add yours