[
https://issues.apache.org/jira/browse/DELTASPIKE-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194532#comment-13194532
]
Christian Kaltepoth commented on DELTASPIKE-63:
-----------------------------------------------
I just want to let you know that I'm working on fixing this issue.
It took me quite some time to find out what's going wrong but now it seems to
work fine. The nice thing is that it will even work without the need to add
@Category(SeCategory.class) to all existing tests.
I'll prepare a patch and submit it later today.
> 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