Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

680
Views
En el informe de cobertura de Sonarqube falta el número de pruebas unitarias

Sonarqube informa actualmente el porcentaje de cobertura del proyecto, pero no el número de pruebas unitarias. Estoy usando jest-sonar-reporter, por lo que se genera un archivo test-report.xml después de ejecutar las pruebas. Mirando que el registro de Sonarqube, dice que los datos de ejecución de prueba se importan para 0 archivos.

 INFO: Parsing /builds/REPONAME/coverage/test-report.xml INFO: Imported test execution data for 0 files INFO: Test execution data ignored for 153 unknown files, including: *file names*

Las rutas de archivo en mi archivo test-report.xml son:

 <file path="/builds/REPONAME/src/accounts/.../utils.test.ts"> <file path="/builds/REPONAME/src/shared/.../utils.test.js"> etc.

archivo paquete.json:

 "devDependencies": { ... "jest-sonar-reporter": "2.0.0", ... }, "jestSonar": { "reportPath": "coverage", "reportFile": "test-report.xml", "indent": 4 },

archivo sonar-project.properties:

 sonar.projectName=REPONAME sonar.projectVersion=3.46.1 sonar.language=js sonar.sources=src sonar.tests=src sonar.exclusions=node_modules/**,tests/**,.idea/**,.storybook/**,stories/** sonar.javascript.lcov.reportPaths=coverage/lcov.info sonar.test.inclusions=**/*.test.* sonar.coverage.exclusions=node_modules/**,test/**,src/**/*.test.js,src/**/*.test.jsx,server/**/*.test.js,*.config.js,.idea/**,.storybook/**,stories/**,**/__snapshots__/**/* sonar.eslint.reportPaths=eslint.json sonar.testExecutionReportPaths=coverage/test-report.xml
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!