BitOps Integration Tests
Opened this issue · 0 comments
arm4b commented
Outside of the Unit Tests #286 where we test lower-level function details,
we'll need Integration Tests to verify different BitOps scenarios as a complete tool.
The main logic is in the 2 main files:
Test scenarios could be:
- BitOps finishes OK on some dummy opsrepo
- BitOps plugin installation is run OK on some dummy config
- Ensure the BitOps executes deployment per bitops config
- Verify if before/after hooks were really ran
- Verify the deployment order
- Exit with non-zero return code on different error(s)