canonical / canonical/pytest-interface-tester
allow testing peer and subordinate relations
- Dominant language
- Python
- Stars
- 1
- Forks
- 5
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 1
Description
At the moment the tester assumes the relation we're testing is regular. There is no way to configure it to use other relation types.
This is not an interface concern: interfaces are independent of the relation type that supports them.
So the Tester should be made smart enough to infer the relation type from the charm metadata (or accept charm-facing config to the same effect).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the Tester and how it currently selects regular relations, then inspect how charm metadata is exposed to the pytest plugin. Define the supported peer and subordinate relation configuration and verify that interface protocol checks work for each relation type without changing interface behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100