This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
OpenCover code coverage not working for QA selenium automation tests over IIS application #938
Open
5 of 30 tasks
Please provide the following information when submitting an issue.
My Framework
My Environment
I have already...
My issue is related to (check only those which apply):
Expected Behavior
Report for code coverage of dev code when running selenium tests
Actual Behavior
Report with empty results are generated
Steps to reproduce the problem:
https://github.com/DKumar91/CodeCoverageDemo
When running below command,
OpenCover.Console.exe -target:"C:\Program Files\IIS Express\iisexpress.exe" -targetdir:"C:\Users\dinesh.kumar\Documents\codecoverage\CodeCoverageDemoProject1\WebApplication3\bin" -targetargs:/config:"C:\Users\dinesh.kumar\Documents\codecoverage\CodeCoverageDemoProject1.vs\CodeCoverageDemoProject1\config\applicationhost.config" -output:"C:\Users\dinesh.kumar\Documents\codecoverage\CodeCoverageDemoProject1\cc1.xml" -register:user
below output is returned
Committing...
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
Kindly help me in resolving this issue
Step-by-step actions would be much better
Also, please provide me the information about how to make opencover to run the selenium test on the application which I have hosted in my local IIS and make it generate reports accordingly.
The text was updated successfully, but these errors were encountered: