feat: update charm templates to use pytest-jubilant
Metadata
Current evaluation
Merged PR #2623 as commit 77c4d692, updating machine and Kubernetes charm templates to use pytest-jubilant for integration tests.
Resolution: closed resolved
Reason: PR #2623 was approved and merged into main as commit 77c4d692. The change updated both charm template types in parallel with canonical/operator#2406.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR updates the machine and kubernetes charm templates to use `pytest-jubilant`, in parallel with the corresponding updates to the Ops docs in https://github.com/canonical/operator/pull/2406
It would be nice to release these changes when possible, but just merging to `main` is a great start for us.
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] ~I've successfully run `make lint && make test`.~
- [x] ~I've added or updated any relevant documentation~.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2623 as commit 77c4d692, updating machine and Kubernetes charm templates to use pytest-jubilant for integration tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2623 as 77c4d692, updating machine and Kubernetes charm templates to use pytest-jubilant alongside canonical/operator#2406. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to main. Updates machine and Kubernetes charm templates to use pytest-jubilant, aligning with parallel Ops documentation changes. Approved by three reviewers and integrated after CI validation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to main. Updates machine and Kubernetes charm templates to use pytest-jubilant, aligning with parallel Ops documentation changes. Approved by reviewers and merged by maintainers. |
Update history
No update history recorded yet.
Related work
-
Related To:
operator#2406
(confidence 99%)
Corresponding Ops documentation update referenced by PR #2623.
-
Related To:
charmcraft#2430
(confidence 90%)
Earlier merged work migrated these templates' integration tests from pytest-operator to Jubilant.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2430 feat(templates): use Jubilant for integration tests of K8s and machine profiles | charmcraft | merged | Merged PR #2430 as commit 449d3962, switching generated Kubernetes and machine profile integration tests from pytest-operator to Jubilant, with new fixtures and docs. | |
| #1933 feat: use the newer ops.testing classes for the charm unit tests | charmcraft | merged | Merged PR #1933 migrated simple, machine, and Kubernetes charm templates from legacy Harness tests to ops.testing while preserving test coverage. | |
| #1540 fix: template integration tests | charmcraft | merged | Merged PR #1540 as commit f3f82031, updating integration-test templates to use charmcraft.yaml instead of metadata.yaml and completing the stalled change from #1468. | |
| #2695 feat(templates): add juju_setup to integration tests, improve comments, fix resolve() | charmcraft | merged | Merged in charmcraft PR #2695 (commit 74d12bce), adding juju_setup to generated integration tests, clarifying comments, and removing redundant resolve(). |