Skip to content
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

Add documentation for verifiable probes #140

Open
jakubch1 opened this issue Oct 10, 2024 · 0 comments
Open

Add documentation for verifiable probes #140

jakubch1 opened this issue Oct 10, 2024 · 0 comments

Comments

@jakubch1
Copy link
Member

jakubch1 commented Oct 10, 2024

Add documentation around UseVerifiableProbes option on site: https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/ide/troubleshooting-code-coverage?toc=%2Fvisualstudio%2Ftest%2Ftoc.json&view=vs-2022
There should be info that if .NET Framework is used and System.Security.VerificationException is thrown by tests verifiable probes should be enabled.

We could also print message when we see System.Security.VerificationException exception and coverage is enabled. This can be added to TestPlatform or we could have special instrumentation for constructors of System.Security.VerificationException and if we see it was thrown we could print Warning from code coverage collector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant