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

Nick Boldt (JIRA) issues at jboss.org
Wed May 20 08:37:19 EDT 2015


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

Nick Boldt commented on JBIDE-19801:
------------------------------------

I believe the rationale for a skipTestOrITest was that you might want to:

* run utests, skip itests
* run itests, skip utests
* run itests, run utests
* skip itests, skip utests

Thus, you need 2 variables to permit cherry-picking WHICH set of tests (integration or unit) to be run, and potentially a third to skip ALL tests.

So, the skip variables could be:

* skipTests (for unit tests)
* skipITests (for integration tests)
* skipAllTests (for all tests)

or

* skipUTests (for unit tests)
* skipITests (for integration tests)
* skipTests (for all tests)



> 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