I'm trying to configure opencover with Visual Studio 2015 Professional edition.
I use Visual Studio In Build MS Test tool for Unit testing.
I have a few challenges on this ,
1.First I have installed opencover Version 4.6.519
First challenge that I'm facing is getting the Test Result out put from the visual studio. I'm running on default test configuration.
Though it creates Test Result folder , I do not see any test result file available.
Then I tried to install OpenCover UI extension available here.
Once I installed I'm getting following error ,
An Exception occured , Could Not Fine a part of the path C:\Users\MyUserAccount\Desktop\MyApp\123244-43434-343434....\TestResults
Please refer to out come Window For More Details.
When I check the outcome window this is the out put
Error: None of the provided test containers match the Platform Architecture and .Net Framework settings for the test run. Platform: X86 .Net Framework: Framework45. Go to http://go.microsoft.com/fwlink/?LinkID=330428 for more details on managing these settings.
Could not find a part of the path 'C:\Users\vsuvinith\Desktop\RFS\OpenCover\f83ba963-16d1-450d-915b-6920d402c961\TestResults'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator
1.CommonInit() at System.IO.FileSystemEnumerableIterator
1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path, String searchPattern) at OpenCover.UI.Processors.MSTestExecutor.UpdateTestResultsFile() at OpenCover.UI.Processors.MSTestExecutor.ReadTestResults() at OpenCover.UI.Processors.TestExecutor.Execute() at OpenCover.UI.Commands.ExecuteSelectedTestsCommand.b__1()
Other Things that might help.
can someone help me on getting this resolved.
Viduru. Are you sure, that you set executables correctly? In the beginning OpenCover will ask you to find executables. This is a OpenCover.Console.exe file. You can get it in %localappdata%\Apps\OpenCover after the installing .msi-file from https://github.com/opencover/opencover/releases (opencover.4.6.519.msi)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With