deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Kaltepoth (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DELTASPIKE-63) Integration test profiles for OWB and Weld don't honor category annotations
Date Thu, 26 Jan 2012 18:33:41 GMT
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: Gerhard Petracek


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