-
Notifications
You must be signed in to change notification settings - Fork 0
Test Coverage #14
Copy link
Copy link
Closed
Labels
priority: mediumShould be addressedShould be addressedtype: testingTest coverage improvementTest coverage improvement
Description
Gap
Only four backend test files exist:
OpenDataMaskApplicationTests.kt(context load test)AuthControllerTest.ktAuthServiceTest.ktWorkspaceServiceTest.kt
Missing test coverage:
- Connector tests (
PostgreSQLConnector,MongoDBConnector,AzureSQLConnector,MongoDBCosmosConnector). DataConnectionServiceandDataConnectionControllertests.TableConfigurationServiceandTableConfigurationControllertests.JobServiceandJobControllertests.EncryptionServicetests.JwtTokenProviderandJwtAuthenticationFiltertests.- Frontend: no test files found despite Vitest being configured.
- CLI: no Go test files found.
Affected files:
backend/src/test/frontend/(test files)cli/(test files)
Required Work
- Add unit tests for all services and controllers (target ≥ 80% line coverage).
- Add connector integration tests (use Testcontainers or mocks).
- Add frontend component and API tests using Vitest.
- Add Go CLI tests using
testingpackage. - Set up CI pipeline for automated test execution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: mediumShould be addressedShould be addressedtype: testingTest coverage improvementTest coverage improvement