-
Notifications
You must be signed in to change notification settings - Fork 389
Coverlet is displaying the coverage as zero. #1021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you elaborate more?Can you write the command line command you're using? |
These are the commands we have used @AbedhBabu @MarcoRossignoli 👍
UISDKStyle: This is a UI Automation test SDK style project whose tests are run through an external tool called Rapise. |
Sorry just to make it more clear. Your output |
Hi Dave, after the test execution, the UISDKStyle.opencover.xml is not having any coverage data. |
OK so you basically want to know how much of your UI Code is covered by the Rapise tests? Can I ask what kind of UI it is, WPF, Forms, Web or some mobile? |
We are using Win Forms. |
Sorry for the late response but it took some time to set a project up that is comparable to your scenario. Instead of Rapise I used Appium with the WinAppDriver. You can find my project here (https://github.com/daveMueller/CoverletWinFormsUiAutomationTests). While setting this up i stumbled across a recent change in coverlet which is documented here (https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/GlobalTool.md#code-coverage-for-integration-tests-and-end-to-end-tests) You can check the powershell file in my repo to see how I'm using coverlet. However it works better than I had expected. And even the generated UI Code is covered. There is one issue. I think this feature isn't released yet because the PR was just merged recently (#991). @MarcoRossignoli is there already a release with this PR? In my test repo I compiled it myself but to try it with Rapise you could just grab the coverlet version in my repo or compile current master by yourself. |
No will be release on |
Closing for stale conversation, feel free to reopen if needed. |
We are using Coverlet to find the code coverage of our application. The UI automation tests are executed via an external tool called Rapise. After execution from TeamCity, the coverage is displaying as zero.
https://www.inflectra.com/Rapise/
Rapise is a tool used to automate Desktop/Windows applications.
SesVSUnit.dll is used to integrate the Rapise test suite with Visual Studio and from Visual Studio the test suites are triggered using Rapise.TestExecute() command.
Xunit is the test caller project.
Please note - we are able to get the coverage of unit tests and integration tests.
The text was updated successfully, but these errors were encountered: