Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4087

Java API to handle tests

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Labels:
      None

      Description

      There's no API to register and get tests. The surefire plugin defines its own XML format to inject data measures.

      The new Java API should support :

      • declaration of unit/integration tests during project scanning
      • test metadata: duration time, status (pass/failed/skipped), name
      • relations between covered main code and tests (see SONAR-2501)
      • requests from server-side extensions

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              simon.brandhof Simon Brandhof (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: