.NET process runner and dotCover coverage for child processes

Hi,

I have a .NET executable called "Parent.exe". It uses Process.Start() to launch two child .NET processes: ChildA.exe and ChildB.exe.

I'm using the .NET process runner in TeamCity to run Parent.exe, and I'm using dotCover to get the code coverage results from Parent.exe - that works fine.

But is it possible to also collect code coverage results for ChildA.exe and ChildB.exe? I'd like the code coverage results for the runner to include the coverage from Parent.exe, ChildA.exe and ChildB.exe.

Paul

1 comment
Comment actions Permalink

Hi Paul

Actually dotCover should get coverage for all child processes launched under the build step.

Which version of TeamCity do you use?
Couuld you please post full build log for such problem build.

Thanks

0

Please sign in to leave a comment.