Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18401

Allow running a subset of Python unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • ambari-server
    • None

    Description

      Running all unit tests several times during development may take too much time. The Surefire Maven plugin can run a subset of Java unit tests by passing filter expression via the test property for test class names.

      However, running fewer than all Python unit tests is currently cumbersome, it requires renaming the unit test or modifying the unitTests.py script. The goal of this improvement is to implement the Surefire approach for filtering Python unit tests to be run.

      Attachments

        1. AMBARI-18401.patch
          3 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: