Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9542

Unable to use junit categories with sling junit core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JUnit Core 1.1.0
    • JUnit Core
    • None

    Description

      Sling Junit core embeds JUnit and exports JUnit packages. These junit packages are imported by test case bundles created by teleporter.  If however, test cases use junit categories to filter tests then such tests to not work. 

      This is because sling junit core exports only some junit package. Specifically, it does not export org.junit.experimental.categories and org.junit.validator

      Attachments

        Activity

          People

            jsedding Julian Sedding
            nitin.nizhawan Nitin Nizhawan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m