[ 
https://issues.apache.org/jira/browse/SUREFIRE-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14606217#comment-14606217
 ] 

Rebecca Hilton commented on SUREFIRE-1164:
------------------------------------------

I don't think I want the folder to be empty but I'm not sure what is in the 
folder.  I work with SonarQube and noticed that differences in the log 
depending on the version of the maven-surefire-plugin from 2.12 to 2.12.4.  
With 2.12 the values for lines to cover, uncovered lines, coverage were set 
even if there were no unit tests and for 2.12.4 if there weren't any unit tests 
all three values were blank.

> 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
>            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)

Reply via email to