bitops icon indicating copy to clipboard operation
bitops copied to clipboard

BitOps Integration Tests

Open arm4b opened this issue 2 years ago • 0 comments

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)

arm4b avatar Apr 05 '23 20:04 arm4b