Build ComplianceService with 100% test coverage #3

Open
opened 2026-04-06 11:22:47 +02:00 by pplate · 0 comments
Owner

Core compliance logic per CanG §§15-26:

  • ComplianceConstants.java: 25g/day, 50g/30d, 30g/30d (under-21)
  • checkDistributionAllowed() method
  • getRemainingQuota() method
  • JaCoCo gate: 100% branch coverage on ComplianceService
  • Testcontainers + JUnit 5 test suite
Core compliance logic per CanG §§15-26: - ComplianceConstants.java: 25g/day, 50g/30d, 30g/30d (under-21) - checkDistributionAllowed() method - getRemainingQuota() method - JaCoCo gate: 100% branch coverage on ComplianceService - Testcontainers + JUnit 5 test suite
pplate added this to the Phase 0 — Foundation (Weeks 1-8) milestone 2026-04-06 11:22:48 +02:00
pplate added the testingcompliancebackend labels 2026-04-06 11:22:48 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pplate/cannamanage#3