Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5844

TS: Tests grouping 2: Create categories & let devs categorize the tests.

    XMLWordPrintable

    Details

      Description

      Based on AS7-2086 and SUREFIRE-803, we can now create the categories for tests.
      They would be in testsuite/shared.

      Example:

      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();
      

      It should be possible to have multiple categories:

      @Categories({Foo.class, Bar.class})
      

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ozizka Ondrej Zizka (Inactive)
              Reporter:
              ozizka Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: