[DPEDE-4229] Add sonarqube coverage to Chi repo#1918
[DPEDE-4229] Add sonarqube coverage to Chi repo#1918josecarlosgonzalezv wants to merge 5 commits intoCenturyLink:masterfrom
Conversation
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/1/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/2/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/3/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/4/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/5/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/6/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/7/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/8/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/9/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/10/. ❌ |
|
The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1918/11/. ❌ |
https://lumen.atlassian.net/browse/DPEDE-4229
This pull request introduces significant improvements to the CI/CD pipeline, code coverage reporting, and end-to-end (E2E) testing for the Chi project. It adds and configures code coverage tooling, tightens quality gate thresholds, enhances SonarQube integration, and updates or adds E2E Cypress tests. Additionally, it removes obsolete or redundant test files and improves code formatting for better readability.
CI/CD Pipeline and Code Coverage Enhancements:
.nycrcconfiguration file to enable and configure NYC code coverage for JavaScript files insrc/chi, with support for lcov and text-summary reports.Jenkinsfile) to include a new "Build Chi - Testing" stage, stash/unstash build and coverage artifacts, and archive NYC/coverage outputs for further analysis. [1] [2]sonar-project.properties. [1] [2]qgate1-sonar.json, reducing allowed code smells, bugs, and vulnerabilities, and raising minimum code coverage to 80%.E2E and Coverage-Related Test Updates:
cypress.config.cjs.chi-tabs.cy.jsCypress E2E test file.drawer.cy.jsCypress test file. [1] [2] [3] [4]Pipeline and Test Reporting Improvements:
Summary of Most Important Changes:
CI/CD and Code Coverage:
.nycrcto enable JavaScript code coverage reporting with NYC, including lcov and text-summary reporters.Jenkinsfile. [1] [2]Quality Gates and SonarQube:
E2E Tests and Coverage:
coverage: trueenvironment variable.chi-tabs.cy.jstest file.Test Code Formatting:
drawer.cy.jsCypress test file. [1] [2] [3] [4]