You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/07/03 23:21:04 UTC
[jira] [Closed] (SUREFIRE-1164) surefire-reports folder missing
when there are no unit tests
[ https://issues.apache.org/jira/browse/SUREFIRE-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana closed SUREFIRE-1164.
----------------------------------
Resolution: Not A Problem
Assignee: Tibor Digana
It looks like a known issue in SonarQube Java.
http://jira.sonarsource.com/browse/SONARJAVA-1003
They just improved logging in version 3.4 when report is not found.
> surefire-reports folder missing when there are no unit tests
> ------------------------------------------------------------
>
> Key: SUREFIRE-1164
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1164
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Surefire Plugin, Maven Surefire Report Plugin
> Affects Versions: 2.12.4
> Reporter: Rebecca Hilton
> Assignee: Tibor Digana
> Priority: Minor
>
> When using the maven plugin (maven-surefire-plugin) on version 2.12 the "surefire-reports" folder gets created whether or not they have unit tests. When using 2.14.4 the folder doesn't get created unless there are unit tests.
> maven-surefire-plugin:2.12:
> [INFO] --- maven-surefire-plugin:2.12:test (default-test) @ xxx ---
> [INFO] No tests to run.
> [INFO] Surefire report directory: e:\...\target\surefire-reports
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> maven-surefire-plugin:2.12.4:
> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ xxx ---
> [INFO] No tests to run.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)