Actions
Refactor #23333
openRefactor of all discovery tests
Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Description
Our tests are in bad shape.
- Drop importing discovery hosts in each test, use FactoryBot instead for Host::Discovered including Subnet, Taxonomy and facts
- Use fixture or FactoryBot for current/session user in unit/functional tests
- Prefer
let
helper everywhere instead of setup
Actions