dotCover command line for UWP
Hi,
I'm trying to get dotCover to run my UWP unit tests from the command line. If I run them from Visual Studio, under Resharper->Unit Tests->Cover All Tests From Application, everything works...my tests run, and I get coverage results. However, I can't seem to get a command line to do the same.
All documentation I can find points to the correct command line runner for UWP tests to be vstest.console.exe. So I set that up in my dotCover config and it does RUN my unit tests - but it doesn't actually report any coverage results. Am I missing a link here? My config:
<?xml version="1.0" encoding="utf-8"?>
<AnalyseParams>
<TargetExecutable>c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe</TargetExecutable>
<TargetArguments>/Platform:x86 PathToMyUnitTest.appx</TargetArguments>
<SymbolSearchPaths>PathTomySymbols</SymbolSearchPaths>
<Output>AppCoverageReport.xml</Output>
<ReportType>xml</ReportType>
</AnalyseParams>
Thanks!
Please sign in to leave a comment.
Hello, Mark!
UWP tests are currently not supported in consoler runner.
You can vote for this feature and track it's status here