Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Tests cannot see that methods are marked with [GuardedFunction] when building with p:CollectCoverage set to true #18

Closed
safakgur opened this issue Oct 27, 2018 · 1 comment
Assignees

Comments

@safakgur
Copy link
Owner

safakgur commented Oct 27, 2018

The removed test in c333c91 fails when building with p:CollectCoverage set to true. Investigate the cause and re-introduce the test.

@safakgur safakgur self-assigned this Oct 27, 2018
@safakgur
Copy link
Owner Author

Turns out coverlet injects a class to the tested assembly, causing Assembly.GetAssembly(typeof(Guard)).ExportedTypes to return an unexpected type.

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

No branches or pull requests

1 participant