             for test in tests {
                 print(test.specifier)
             }
+
+        case .codeCovPath:
+            let workspace = try getActiveWorkspace()
+            let root = try getWorkspaceRoot()
+            let rootManifest = workspace.loadRootManifests(packages: root.packages, diagnostics: diagnostics)[0]
+            let buildParameters = try self.buildParameters()
+            print(codeCovAsJSONPath(buildParameters: buildParameters, packageName: rootManifest.name))
 
         case .generateLinuxMain:
           #if os(Linux)

            return .generateLinuxMain
        }

        return .runSerial
    }


            option: parser.add(option: "--enable-code-coverage", kind: Bool.self,
                usage: "Test with code coverage enabled"),
            to: { $0.shouldEnableCodeCoverage = $1 })

        binder.bind(
            option: parser.add(option: "--show-codecov-path", kind: Bool.self,
                usage: "Print the path of the exported code coverage JSON file"),
            to: { $0.shouldPrintCodeCovPath = $1 })
    }

    /// Locates XCTestHelper tool inside the libexec directory and bin directory.
