[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
Sun Nov 25 23:36:22 EST 2012


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

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

When the category is used for an Arq test, it's class must be added to the deployment.
{code}
        jar.addPackage(CommonCriteria.class.getPackage());
{code}
Looking for some more convenient solution.
                
> 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