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
- Then report generator Version 2.4.3.0
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.
- Build is in X64
- Running on Windows 7 Enterprise Edition.
- Running on default configuration , no configuration has done.
can someone help me on getting this resolved.