Closed jregnier closed 8 years ago
Please provide a working sample (not code snippets) so I can replicate your issue exactly.
Thanks for the reply. Last night I decided to refactor my code and ended up not needing the method causing the issue so indirectly fixing my issue. Thanks
Please provide the following information when submitting an issue, where appropriate replace the
[ ]
with a[X]
My Framework
My Environment
I have already...
My issue is related to (check only those which apply):
Expected Behavior
The following method should be fully tested by the test below.
and this is what the test looks like. Its testing the method indirectly with a TestObject which has the attribute on one of its properties and also directly by calling the method from the test.
Actual Behavior
The method is reporting 0 coverage.
Steps to reproduce the problem:
Run OpenCover with following command
.\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"J:\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe" -targetargs:"/noresults /noisolation /testcontainer:"".\MtgApiManager.Lib.Test\bin\Debug\MtgApiManager.Lib.Test.dll" -filter:"+[MtgApiManager.Lib]* -[MtgApiManager.Lib]MtgApiManager.Lib.Properties.*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\MtgApiManager.Lib_coverage.xml