Skip to content

Migrate unit tests from ops.harness #72

Description

@mvlassis

Context

ops.testing.Harness is considered deprecated since https://documentation.ubuntu.com/ops/latest/reference/ops-testing-harness/. The replacement for it should be state-transition tests.

The ops team has created a migration guide which should be helpful

What needs to get done

  • Update all units tests under tests/unit to move away from ops.Harness.

Definition of Done

  • Our unit tests don't use ops.harness

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions