-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Descripción
Implementar unit tests para asegurar calidad del código.
Áreas a cubrir
Application Layer (Handlers)
- Pipeline handlers (Create, Update, Delete, Toggle, Scan)
- Configuration handlers (Timer, Connections, Recipients, AI)
- Drift handlers (Query, Export)
- Scan handlers (Query, Stats)
- Credential handlers (Query, Test, Rotate)
- Analysis handlers (Trigger)
Infrastructure Layer (Services)
-
KeyVaultService -
MessageQueueService -
SignalRService -
EmailService -
AdoService -
AzureResourceService
Infrastructure Layer (Repositories)
-
PipelineRepository -
DriftRecordRepository -
ScanLogRepository -
ConfigurationRepository -
CredentialRepository
Herramientas
- xUnit para tests
- Moq para mocking
- FluentAssertions para assertions
Archivos a crear
tests/Chivato.Application.Tests/tests/Chivato.Infrastructure.Tests/
Criterios de aceptación
- >80% code coverage en handlers
- Tests pasan en CI pipeline
- Mocks para dependencias externas
Reactions are currently unavailable