Skip to content

docs: update integration testing how-to guide#2390

Merged
dwilding merged 13 commits intocanonical:mainfrom
dwilding:adjust-how-to-integration
Mar 27, 2026
Merged

docs: update integration testing how-to guide#2390
dwilding merged 13 commits intocanonical:mainfrom
dwilding:adjust-how-to-integration

Conversation

@dwilding
Copy link
Copy Markdown
Contributor

@dwilding dwilding commented Mar 24, 2026

This PR makes several improvements to the how-to guide for integration testing.

Main improvements:

  • Reduce the introduction, especially the number of outgoing links. Currently, it's easy to get confused about what to read first. There's especially no need to go and read about Jubilant first. I'm making sure that Jubilant is linked from several places throughout the doc.

  • Add extra info about fixtures and juju.deploy(). Mostly this is adapted from the Jubilant tutorial, which I'm pruning in jubilant#280.

  • Reorganise the flow of examples. The current flow shows a deploy, then defines fixtures, then shows a deploy again (in a better way).

Preview of updated doc

This comment was marked as resolved.

@dwilding dwilding changed the title docs: [WIP] update integration testing how-to guide docs: update integration testing how-to guide Mar 25, 2026
@dwilding dwilding marked this pull request as ready for review March 25, 2026 23:25
Copy link
Copy Markdown
Collaborator

@tonyandrewmeyer tonyandrewmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely an improved order, thanks! One small suggestion and some +1s on ones from James.

@dwilding dwilding merged commit e1692c4 into canonical:main Mar 27, 2026
59 checks passed
@dwilding dwilding deleted the adjust-how-to-integration branch March 27, 2026 07:56
dwilding added a commit to canonical/jubilant that referenced this pull request Mar 30, 2026
This PR removes charm integration testing from the
[tutorial](https://documentation.ubuntu.com/jubilant/tutorial/getting-started/).
It's confusing to cover this here and [in the Ops
docs](https://documentation.ubuntu.com/ops/latest/howto/write-integration-tests-for-a-charm/).

In [operator#2390](canonical/operator#2390) I'm
making sure that the Ops docs cover the info that I'm removing from the
tutorial. With the exception of CI/Concierge - I'll do that in a
separate PR. Also with the exception of `keep` - I've moved that info to
the Jubilant reference docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants