Gap
Only four backend test files exist:
OpenDataMaskApplicationTests.kt (context load test)
AuthControllerTest.kt
AuthServiceTest.kt
WorkspaceServiceTest.kt
Missing test coverage:
- Connector tests (
PostgreSQLConnector, MongoDBConnector, AzureSQLConnector, MongoDBCosmosConnector).
DataConnectionService and DataConnectionController tests.
TableConfigurationService and TableConfigurationController tests.
JobService and JobController tests.
EncryptionService tests.
JwtTokenProvider and JwtAuthenticationFilter tests.
- 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
testing package.
- Set up CI pipeline for automated test execution.
Gap
Only four backend test files exist:
OpenDataMaskApplicationTests.kt(context load test)AuthControllerTest.ktAuthServiceTest.ktWorkspaceServiceTest.ktMissing test coverage:
PostgreSQLConnector,MongoDBConnector,AzureSQLConnector,MongoDBCosmosConnector).DataConnectionServiceandDataConnectionControllertests.TableConfigurationServiceandTableConfigurationControllertests.JobServiceandJobControllertests.EncryptionServicetests.JwtTokenProviderandJwtAuthenticationFiltertests.Affected files:
backend/src/test/frontend/(test files)cli/(test files)Required Work
testingpackage.