             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.

        }

        // Export the codecov data as JSON.
        try exportCodeCovAsJSON(filename: buildPlan.graph.rootPackages[0].name, testBinary: testProduct.binary)
    }

    /// Merges all profraw profiles in codecoverage directory into default.profdata file.

            testBinary.pathString
        ]
        let result = try Process.popen(arguments: args)
        try localFileSystem.writeFileContents(path, bytes: ByteString(result.output.dematerialize()))
    }

    /// Builds the "test" target if enabled in options.
