Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-522

[Go] - Fail to import test execution file located at the root of the project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Go
    • Labels:

      Description

      When importing test execution reports in a project using modules, tests located at the root of the project will not be correctly detected.

      WARN: Failed to find test file for package github.com/test and test Test_mapFile
      

      Note that tests located in a sub-folder will be correctly detected.
      Test coverage is not affected by this problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quentin.jaquier Quentin Jaquier
              Reporter:
              quentin.jaquier Quentin Jaquier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: