Mayank Bansal

Results 12 comments of Mayank Bansal

Sorry for such delay on this. **Issue Explanation:** When we instrument a dll which contains methods/classes marked with certain Security Attributes e.g. [SecurityCritical](https://docs.microsoft.com/en-us/dotnet/api/system.security.securitycriticalattribute?view=netframework-4.7.2) or few more, then during code coverage...

@MoiMoiDG the following runsettings should help you ` .*.dll$ .*.exe$ .*CPPUnitTestFramework.* .*nunit.* ^Fabrikam.UnitTest..* ^std::.* ^ATL::.* .*::__GetTestMethodInfo.* ^Microsoft::VisualStudio::CppCodeCoverageFramework::.* ^Microsoft::VisualStudio::CppUnitTestFramework::.* ^System.Diagnostics.DebuggerHiddenAttribute$ ^System.Diagnostics.DebuggerNonUserCodeAttribute$ ^System.Runtime.CompilerServices.CompilerGeneratedAttribute$ ^System.CodeDom.Compiler.GeneratedCodeAttribute$ ^System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute$ .*\atlmfc\.* .*\vctools\.* .*\public\sdk\.* .*\microsoft sdks\.* .*\vc\include\.* .*microsoft.*...

@jchesshir , thanks for bringing this issue up. I agree that currently TestContext is not Thread Safe, & can have repercussions in case of method level parallelism. However the changes...

@pvlakshm Pratap, it seems to me that we need to spec it out, - If users provides trx file name, then we will overwrite the 1st trx file, - If...

While overwriting the message we show is "WARNING: Overwriting results file: C:\Users\maban\source\repos\UnitTestProject32\UnitTestProject32\TestResults\abc.trx"

@cltshivash , @PBoraMSFT we have something similar in Azure devops pipeline right?

@JamesNK , if this is an intermediate issue, can you please enable diagnostics logs for testplatform & share those with us https://github.com/Microsoft/vstest-docs/blob/master/docs/diagnose.md

@JamesNK I went through the logs & from the logs I didn't see any hang state. The only interesting thing I observed was that it seemed we start 10 different...

I'm looking into it, I've cloned the repo, & all I need to do is run dotnet on sln right?

I tried it locally multiple times, but it did not repro for me.