bitops
bitops copied to clipboard
BitOps Integration Tests
Outside of the Unit Tests https://github.com/bitovi/bitops/issues/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)