[jbosstools-issues] [JBoss JIRA] (JBIDE-20689) Skip tests that cannot run on current platform

Denis Golovin (JIRA) issues at jboss.org
Thu Oct 8 02:26:00 EDT 2015


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

Denis Golovin commented on JBIDE-20689:
---------------------------------------

That is correct, except it works only for JUnit 4 annotated tests, if test extends TestCase then assume doesn't skip the test it marks it as a error/failure. 
Attached fix includes both:
1. assumeTrue to verify supported platform and GTK3
2. migration to annotated JUnit4 tests

> Skip tests that cannot run on current platform
> ----------------------------------------------
>
>                 Key: JBIDE-20689
>                 URL: https://issues.jboss.org/browse/JBIDE-20689
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: visual-page-editor-core
>    Affects Versions: 4.4.x
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 4.4.x
>
>
> VPE related run without errors only only on certain platforms. They should be skipped during tests execution and appear as skipped in report. As an example javaee tests now fail to pass under Mac OS X. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list