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
Context
ops.testing.Harnessis considered deprecated since https://documentation.ubuntu.com/ops/latest/reference/ops-testing-harness/. The replacement for it should be state-transition tests.The
opsteam has created a migration guide which should be helpfulWhat needs to get done
tests/unitto move away fromops.Harness.Definition of Done
ops.harness