skills/seb4stien/charmkeeper/charmkeeperration-tests

charmkeeperration-tests

SKILL.md

Plan:

  • Find the integration tests in the repository (their could be multiple "tests/integration" folders).
  • Ensure each set of integration tests is following the implementation standards.
  • Run the tests to ensure the code work as expected.

Implementation standards

  • Expected versions:

    • jubilant: ~> 1.7
  • Lint produced code with tox -e lint.

Testing

Writing integrations tests

Local testing

The integration tests should be run in a virtual machine named "charmkeeper".

If the machine doesn't exist, create it with: scripts/create-charmkeeper-vm.sh.

If not already done, mount the working directory folder in the machine with

multipass mount --type native $PWD charmkeeper:/workdir

Look at CONTRIBUTING.md to see if there are specific instructions to build and test the charm.

Don't forget to rebuild the charm (and the rock) if you change the code.

Unless there is something specific mentioned, you should be able to run the unit tests with: multipass exec charmkeeper -d /workdir/ -- tox

Then run the integration tests with multipass exec charmkeeper -d /workdir/ -- tox -e integration -- --charm-file=path-to-charm.

Maintain

Configuring renovate

Configure renovate with a charmhub customDatasource like in https://raw.githubusercontent.com/canonical/platform-engineering-charm-template/refs/heads/main/renovate.json to

  • Add a regex customManager to update the revisions
  • Set ignorePath to an empty array to not exclude the tests folders
Weekly Installs
4
First Seen
Feb 21, 2026
Installed on
opencode4
gemini-cli4
claude-code4
github-copilot4
codex4
kimi-cli4