How-to guides¶
- Testing your requirer charm
- Prerequisites
- Why use
self-signed-certificatesfor testing? - Expose testable state in your charm
- Set up the test module
- Test: Certificate is received after integration
- Test: Certificate is re-requested when config changes
- Test: An expiring certificate is renewed
- Test: A CA config change causes a new CA to be used
- Test: Rotating the requirer’s private key re-issues the certificate
- Test: Rotating the CA’s private key re-issues all certificates
- Running the suite