Skip to content

Add config and action integration tests to K8s tutorial charms #2514

@dwilding

Description

@dwilding

These chapters of the K8s tutorial don't show how to write integration tests:

@tonyandrewmeyer and I discussed this today. We don't think it's valuable to extend the time it takes to complete the tutorial with another two rounds of running integration tests. So here's our plan:

  1. Add integration tests to the relevant example charms. (Probably a good idea to comment that the tests go beyond the tutorial.)

  2. In the tutorial chapters, mention that adding integration tests is an exercise for the reader. They can refer to How to write integration tests for a charm, which has clearly-named sections that should help. If the reader is stuck, they can inspect the example charms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationrainy daySmall items done in ~10% of each week's timesmall itemA small item, for some value of 'small'

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions