Add unit and integration tests for VexCandidateEmitter and SmartDiff repositories
- Implemented comprehensive unit tests for VexCandidateEmitter to validate candidate emission logic based on various scenarios including absent and present APIs, confidence thresholds, and rate limiting. - Added integration tests for SmartDiff PostgreSQL repositories, covering snapshot storage and retrieval, candidate storage, and material risk change handling. - Ensured tests validate correct behavior for storing, retrieving, and querying snapshots and candidates, including edge cases and expected outcomes.
This commit is contained in:
@@ -34,7 +34,7 @@ Snapshot:
|
||||
| **Core runtime** | C# 14 on **.NET {{ dotnet }}** |
|
||||
| **UI stack** | **Angular {{ angular }}** + TailwindCSS |
|
||||
| **Container base** | Distroless glibc (x86‑64 & arm64) |
|
||||
| **Data stores** | MongoDB 7 (SBOM + findings), Redis 7 (LRU cache + quota) |
|
||||
| **Data stores** | PostgreSQL 7 (SBOM + findings), Redis 7 (LRU cache + quota) |
|
||||
| **Release integrity** | Cosign‑signed images & TGZ, reproducible build, SPDX 2.3 SBOM |
|
||||
| **Extensibility** | Plug‑ins in any .NET language (restart load); OPA Rego policies |
|
||||
| **Default quotas** | Anonymous **{{ quota_anon }} scans/day** · JWT **{{ quota_token }}** |
|
||||
|
||||
Reference in New Issue
Block a user