deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DELTASPIKE-63) Integration test profiles for OWB and Weld don't honor category annotations
Date Sat, 11 Feb 2012 02:27:04 GMT

     [ https://issues.apache.org/jira/browse/DELTASPIKE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek closed DELTASPIKE-63.
--------------------------------------

    
> Integration test profiles for OWB and Weld don't honor category annotations
> ---------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-63
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-63
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Tests
>         Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
>            Reporter: Christian Kaltepoth
>            Assignee: Christian Kaltepoth
>             Fix For: 0.1-incubating
>
>         Attachments: DELTASPIKE-63.patch
>
>
> It seems like the integration test profiles for OWB and Weld ignore the @Category annotations
used to restrict tests to a certain runtime environment like "WebProfile" or "FullProfile".
This problem occurs when running the tests in both "core-impl" and "integration-test".
> To reproduce this just add this failing method to some test class and execute the tests
in the default profile OWB:
>     @Test 
>     @Category(WebProfileCategory.class)
>     public void testCategory() {
>         fail("Should not get executed!");
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message