How to get a HTML coverage report for a Windows Store App from the command line?

Completed

See subject, it seems as though this is not currently possible. As I've read in the thread ...

http://devnet.jetbrains.com/message/5477654

... the dotCover command line does not work when the TargetExecutable is vstest.console.exe and one of the TargetArguments is /InIsolation. It seems both are required to test appx containers from the command line.

Is there any other way to automate the generation of a HTML coverage report for appx test containers?

Thanks!

5 comments
Comment actions Permalink

Hello Andreas,

Sorry for the delay in replying. You are right, this is not possible right now and there is no other way to get HTML coverage report in such cases.

Kind regards,
Maria

0
Comment actions Permalink

Hi, 

After 2 years, is there any luck that Universal Windows App are supported for running command line generating html/Json coverage report?

Amos.

0
Comment actions Permalink

Hi Amos,

Unfortunately Universal Windows Apps are still not supported by dotCover's console runner.

Sorry for the inconvenience!

0
Comment actions Permalink

dotCover works running in VS, can you roughly explain how come it works and console runner doesn't?

I'm thinking whether it is possible to work around it and use some way to invoke dotCover the way it executes in VS.

Many Thanks!

0
Comment actions Permalink

Hi Amos,

Unfortunately there is no workaround for this issue now.

In VS dotCover starts "regular" and WinStore applications differently - there are some additional actions that are required in order to start a WinStore application under profiling (dotCover uses run-time profiling in order to perform coverage analysis).

0

Please sign in to leave a comment.