-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clearly deprecate Harness in the testing how-tos (#1508)
Small adjustments to the how-to guides on testing to make it clear that Harness is deprecated: * Tweak the general guide so that it's still basically saying the same thing, but refers to Scenario rather than Harness. * Adjust example tests to use ops.testing Scenario classes rather than Harness. * Make sure it's clear that `ops[testing]` should be installed to write unit tests. * Use Scenario from `ops.testing` rather than from `scenario`. Note that this does not substantially change the testing documentation: there's a roadmap item to do that later in 25.04. [Live preview](https://ops--1508.org.readthedocs.build/en/1508/) --------- Co-authored-by: Ben Hoyt <[email protected]> Co-authored-by: Dave Wilding <[email protected]>
- Loading branch information
1 parent
dea45c1
commit 91a4ea4
Showing
4 changed files
with
91 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters