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

        

Reply via email to