Cover Integration and Typemock

I was wondering if anyone has any ideas on how to integrate typemock and partcover.

We have unit tests that use typemock in our C # sharepoint based application, and we would like to run them through partcover and be able to see coverage details.

I managed to run typemock tests through partcover, however, partcover cannot display hidden details for the test code?

The way I got the tests to run through partcover is to get Partcover to run the Typemock runner, which in turn runs MSTest.

My browser settings for sharing information:

ExecutableFile: * Path to typemock * \ TMockRunner.exe

Working directory: * A folder that already exists *

Working arguments: * Path to MSTest * \ MSTest.exe / noisolation / testcontainer: * Path to DLL *

Any ideas would be great, especially in how partcover retrieves coverage information.

Thanks.

+3
source share
3 answers

For everyone who is interested, the distribution panel is not currently supported. Hovever, it seems that future releases of Typemock will support part cover art.

http://www.typemock.com/community/viewtopic.php?t=762

+1
source

You can try this link: Typemock and Code Access Tools . I had no luck with gui PartCover, so I will try to use the command line.

update: I got a GUI.

  • 1. typemock . typemock
  • " " " ", exe , , mstest.exe
  • 3. , , .dll , C:\MyProject\UnitTests\Bin\Debug
  • 4. : mstest,/testcontainer:foo.test.dll
  • 5. 1 : + [MyNamespace.MyAssemblyName] *,

, typemock , .

  • 'Views- > ', .
+1

Typemock Isolator (5.4.5) Partcover.

0

Source: https://habr.com/ru/post/1723174/


All Articles