# SonarQube generic test report is ignored

**URL:** <https://community.sonarsource.com/t/sonarqube-generic-test-report-is-ignored/103095>\
**Category:** SonarQube Server / Community Build\
**Tags:** junit, javascript, coverage\
**Created:** [October 23, 2023, 11:23am UTC](https://community.sonarsource.com/t/sonarqube-generic-test-report-is-ignored/103095 "2023-10-23T11:23:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhyYouNoFixBugs](https://avatars.discourse-cdn.com/v4/letter/w/f07891/32.png) [@WhyYouNoFixBugs](https://community.sonarsource.com/u/WhyYouNoFixBugs)\
**Post date:** [October 23, 2023, 11:23am UTC](https://community.sonarsource.com/t/sonarqube-generic-test-report-is-ignored/103095/1 "2023-10-23T11:23:52Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- SonarQube version: Enterprise 10.2
- Scanner CLI version: 5.0.1.3006
- SonarQube is deployed via Docker
- Cucumber via JavaScript NPM: 9.1.2
- I am trying to configure the SonarQube scanner cli to upload my _“Generic test coverage”_ report (generated by Cucumber) to SonarQube.
- I have tried the following:
  - Ensured that the generated report is in the correct format, as stated in the [docs](https://docs.sonarsource.com/sonarqube/9.8/analyzing-source-code/test-coverage/generic-test-data/#generic-test-execution).
  - Added various flag/parameters to the SonarQube CLI scanner (sonar.language, sonar.test, sonar.sources, etc).
  - Turned on verbose to get more logs.
  - SonarQube CLI Command:
  - -Dsonar.projectKey=PROJECT\_KEY \
  - -Dsonar.testExecutionReportPaths=./cucumber.xml \
  - -Dsonar.tests=tests/ \
  - -Dsonar.test.inclusions=./\*\*/\* \
  - -Dsonar.sourceEncoding=UTF-8 \
  - -Dsonar.sources=tests/ \
  - -Dsonar.projectVersion=1.0 \
  - -Dsonar.verbose=true \
  - -Dsonar.language=js \
  - -Dsonar.javascript.file.suffixes=.js,.jsx

I get the following message\*\*\*

> 08:25:14.828 INFO: Sensor Generic Test Executions Report  
> 08:25:14.828 INFO: Parsing /workspaces/repository/javascript-cucumber/cucumber.xml  
> 08:25:14.855 INFO: Imported test execution data for 0 files  
> 08:25:14.856 INFO: Test execution data ignored for 1 unknown files, including:  
> lambda.feature

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [October 24, 2023, 1:27pm UTC](https://community.sonarsource.com/t/sonarqube-generic-test-report-is-ignored/103095/2 "2023-10-24T13:27:35Z")

</div>

Hey there.

`lambda.feature` doesn’t seem like a file that would get analyzed by SonarQube (there’s no native support for a file with the `.feature` file extension). What language is this file written in?

---

<div class="post-metadata">

**Author:** ![WhyYouNoFixBugs](https://avatars.discourse-cdn.com/v4/letter/w/f07891/32.png) [@WhyYouNoFixBugs](https://community.sonarsource.com/u/WhyYouNoFixBugs)\
**Post date:** [October 24, 2023, 2:00pm UTC](https://community.sonarsource.com/t/sonarqube-generic-test-report-is-ignored/103095/3 "2023-10-24T14:00:24Z")

</div>

Hi Colin,

Thanks for the reply, this is a Cucumber Gherkin step files, it is combined with JavaScript tests. Unfortunately I saw that the .feature files and Cucumber are not well integrated in Sonar(yet).
