Commit f43264f
committed
test(opencti): add strong unit + integration tests for partial-state reliability
add deterministic unit tests covering failure at each critical stage (observable, report, external reference) to validate partial-state contract
enforce strict assertion on Created IDs message to guarantee no silent partial object leak
validate success path integrity and ensure no regression in return structure
verify organization and marking creation is executed only once per run (caching correctness)
add env-guarded live OpenCTI integration test for real API validation without breaking CI
This makes OpenCTI connector behavior testable, predictable and safe against API schema drift.1 parent 8a8b7b1 commit f43264f
1 file changed
+474
-0
lines changed
0 commit comments