Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Improve test coverage and SonarQube quality gate readiness#55

Merged
5000user5000 merged 2 commits into
devfrom
test/sonarQube-fix
May 29, 2026
Merged

Improve test coverage and SonarQube quality gate readiness#55
5000user5000 merged 2 commits into
devfrom
test/sonarQube-fix

Conversation

@5000user5000
Copy link
Copy Markdown
Owner

Summary

This PR improves frontend/backend test coverage readiness and SonarQube Quality Gate stability for the project.

Key updates:

  • added and refined frontend tests for important user-facing flows
  • added backend service-level test coverage for core configuration/change/version/export behavior
  • aligned frontend and backend coverage reports with SonarQube scan inputs
  • resolved SonarQube new violations that caused standalone frontend/backend Quality Gates to fail
  • documented the canonical root SonarQube scan workflow in the README and docs

Quality / SonarQube

The canonical SonarQube project is the root aggregate project:

  • cloud-native

Standalone projects were also checked:

  • cloud-native-frontend
  • cloud-native-backend

Current local Quality Gate status:

  • cloud-native: OK
  • cloud-native-frontend: OK
  • cloud-native-backend: OK

The expected scan flow is:

cd frontend
npm run test:coverage

cd ../backend
mvn clean verify

cd ..
npx @sonar/scan \
  -Dsonar.host.url=http://localhost:9000 \
  -Dsonar.token=$SONAR_TOKEN

Verification

  • Frontend targeted tests passed
  • Backend targeted tests passed
  • SonarQube Quality Gate passed for root aggregate project
  • SonarQube Quality Gate passed for frontend/backend standalone projects

Notes

  • SonarQube tokens are not committed and should be provided through environment variables or CI secrets.
  • Coverage exclusions are documented as conservative exclusions for bootstrap, data, framework wiring, DTO/repository/controller, enum, and prototype/demo files.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cloud-native Ready Ready Preview, Comment May 29, 2026 12:28am

@5000user5000 5000user5000 added documentation Improvements or additions to documentation test labels May 29, 2026
@5000user5000 5000user5000 merged commit 40538ad into dev May 29, 2026
4 checks passed
@5000user5000 5000user5000 deleted the test/sonarQube-fix branch May 29, 2026 00:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant