Hi here Marco from coverlet https://github.com/tonerdo/coverlet
One of most requested feature is "Solution wide coverage".
To do that we need to sync/communicate with concurrent running task https://github.com/tonerdo/coverlet/tree/master/src/coverlet.msbuild.tasks
Is there a build-in mechanism?
If I run for instance dotnet test /p:CollectCoverage=true MergeWith.sln (coverlet-coverage/coverlet#598 (comment)) I see overlapping task instances and concurrent tests.
We should sync CoverageResultTask https://github.com/tonerdo/coverlet/blob/master/src/coverlet.msbuild.tasks/CoverageResultTask.cs#L73 and wait all tests and merge results.
Is there a way/pattern to do this?Or we need to implement custom sync/interprocess communication(we need a unique identifier to group task of same sln build)?
cc: @tonerdo
Hi here Marco from coverlet https://github.com/tonerdo/coverlet
One of most requested feature is "Solution wide coverage".
To do that we need to sync/communicate with concurrent running task https://github.com/tonerdo/coverlet/tree/master/src/coverlet.msbuild.tasks
Is there a build-in mechanism?
If I run for instance
dotnet test /p:CollectCoverage=true MergeWith.sln(coverlet-coverage/coverlet#598 (comment)) I see overlapping task instances and concurrent tests.We should sync
CoverageResultTaskhttps://github.com/tonerdo/coverlet/blob/master/src/coverlet.msbuild.tasks/CoverageResultTask.cs#L73 and wait all tests and merge results.Is there a way/pattern to do this?Or we need to implement custom sync/interprocess communication(we need a unique identifier to group task of same sln build)?
cc: @tonerdo