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

Tibor Digana commented on SUREFIRE-1812:
----------------------------------------

[~jondruse]
I am not able to install the project due to the error

{noformat}
[ERROR] Failed to execute goal 
org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute (sanity-checks) on 
project camel-quarkus-build-parent: Execution sanity-checks of goal 
org.codehaus.gmaven:groovy-maven-plugin:2.1.1:execute failed: Impossible to 
read the text content from 
file://C:/vcs/github/camel-quarkus/tooling/scripts/validate-dependencies.groovy:
 Unknown host C -> [Help 1]
{noformat}

So I am not able to get inside of the forked surefire JVM. You have to do it 
somehow. In ideal situation the JVM needs to debug and call {{System.getenv()}} 
and check {{BRAINTREE_MERCHANT_ID}} ...

> Skipped tests (by annotation @EnabledIfEnvironmentVariable on the test class) 
> are not reported
> ----------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1812
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1812
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M4, 3.0.0-M5
>            Reporter: Jiri Ondrusek
>            Priority: Major
>
> I'm upgrading surefire plugin from 2.22.2 and there is a different behavior 
> started from 3.0.0-M4.
> When the test class is ignored by using @EnabledIfEnvironmentVariable(...), 
> final report shows bad information: (3.0.0.-M4, M5, master)
> {quote}[INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> {quote}
> The same test executed with 3.0.0-M3 shows:
> {quote}[INFO] Results:
> [INFO] 
> [WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to