[jbosstools-issues] [JBoss JIRA] (JBIDE-19801) Why is skipTestOrITest only defined for jbosstools-server/as/itests, but not wtp/itests/ ?

Rob Stryker (JIRA) issues at jboss.org
Wed May 20 13:47:19 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069714#comment-13069714 ] 

Rob Stryker commented on JBIDE-19801:
-------------------------------------

Unfortunately Nick is wrong. The rationale had nothing to do with that, and also the current behavior does not support running itests and skipping utests. 

The entire rationale for skipTestsOrITests (for me) was  entirely due to downloading of dependencies (app servers) for my itests. 

Things to remember:

1) When a user has -DskipTests,  the itests are also not run. But, for some reason, the dependencies of my integration tests were still being downloaded
2) When looking into my int-tests pom.xml, I had indicated the downloading of runtimes should be skipped if skipITests was true
3) In this case, skipTests was true, skipITests was false.  The running of int-tests would be skipped based on skipTests, but downloading of runtimes was only skipped based on skipITests
4) I had requested several times for a way to get a 'boolean or' of skipTests and skipITests, so that my downloading of dependencies might accurately skip when either skipTests was true OR skipITests was true
5) Everybody told me it couldn't be done, and 
6) Then I did it. 

> Why is skipTestOrITest only defined for jbosstools-server/as/itests, but not wtp/itests/ ?
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19801
>                 URL: https://issues.jboss.org/browse/JBIDE-19801
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>
> 3 questions:
> a) why is the variable skipTestOrITest, and not skipTestsOrITests ?
> b) why isn't it defined in your root pom such that it can be reused in other itests/ folders? I see skipITests being used in as/itests/ and wtp/itests/ but only as/itests is resolving the skipTestOrITest flag.
> c) was there a JIRA to push this into the parent pom, too? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list