Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4423

Define categories for integration test execution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.3, 1.8.0
    • build, test
    • None

    Description

      Had a thought the other day when talking to some folks about testing.

      Our current integration tests can be broken down into two categories:

      • Encapsulated (MiniCluster only)
      • Capable of using a Standalone Accumulo instance (instead of a MiniCluster)

      with any ITs that don't have MiniClusters (if there are any), I am lumping them into the Encapsulated category.

      Now, if I have an environment set up which I can run these Standalone tests against, it would be nice to just be able to execute those tests. I could then run the unit tests, checkstyle, findbugs, and encapsulated integration tests out of band, not tied to the lifetime (and cost) of that environment for the Standalone tests.

      It would be nice if we can use something like JUnit categories to group these tests and then provide the "hooks" in the build to let users specify which categories are executed.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 11.5h
                  11.5h