Add unit tests for ExceptionEvaluator, ExceptionEvent, ExceptionHistory, and ExceptionObject models
- Implemented comprehensive unit tests for the ExceptionEvaluator service, covering various scenarios including matching exceptions, environment checks, and evidence references. - Created tests for the ExceptionEvent model to validate event creation methods and ensure correct event properties. - Developed tests for the ExceptionHistory model to verify event count, order, and timestamps. - Added tests for the ExceptionObject domain model to ensure validity checks and property preservation for various fields.
This commit is contained in:
1030
src/Api/StellaOps.Api.OpenApi/policy/exceptions.yaml
Normal file
1030
src/Api/StellaOps.Api.OpenApi/policy/exceptions.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user