[jboss-jira] [JBoss JIRA] (AS7-5844) TS: Tests grouping 2: Create categories & let devs categorize the tests.

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon Nov 26 10:23:21 EST 2012


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

Ondrej Zizka commented on AS7-5844:
-----------------------------------

Pull request sent, https://github.com/jbossas/jboss-as/pull/3513

But this change needs some additional discussion - a reasoning why we need it. TBD.
                
> TS: Tests grouping 2: Create categories & let devs categorize the tests.
> ------------------------------------------------------------------------
>
>                 Key: AS7-5844
>                 URL: https://issues.jboss.org/browse/AS7-5844
>             Project: Application Server 7
>          Issue Type: Feature Request
>            Reporter: Ondrej Zizka
>            Assignee: Ondrej Zizka
>
> Based on AS7-2086 and SUREFIRE-803, we can now create the categories for tests.
> They would be in testsuite/shared.
> Example:
> {code}
> interface AllTests;
> interface ATests extends AllTests;
> interface BTests extends AllTests;
> interface AaTests extends ATests;
> @Category(ATests.class)	public void ATest();
> @Category(AaTests.class) public void AaTest();
> @Category(BTests.class) public void BTest();
> {code}
> It should be possible to have multiple categories:
> {code}
> @Categories({Foo.class, Bar.class})
> {code}
> TODO: Check if it also works with FailSafe.
> Some categories candidates (feel free to extend):
> * ASTest
> ** EJB
> ** JPA
> ** Management
> ** Security
> *** CommonCriteria
> ** NonArquillian
> ** Transactions
> ** Multinode
> *** Clustering

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list