dotCover command line for UWP



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 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"?>
  <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>


1 comment
Official comment

Hello, Mark!

UWP tests are currently not supported in consoler runner.

You can vote for this feature and track it's status here

Please sign in to leave a comment.