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
Updated by Aditi Puntambekar almost 7 years ago
- Assignee set to Aditi Puntambekar
Updated by Aditi Puntambekar about 6 years ago
- Assignee deleted (
Aditi Puntambekar)
Actions