Capturing coverage from the app process
Running the process with the SeaLights .NET Core agent using run option
run option./sl-dotnet-agent/SL.DotNet.exe run --buildSessionIdFile buildSessionId.txt --instrumentationMode coverage --target c:\MyApplication\App.exe --workingDir c:\WorkingDir --targetArgs "-Flag1 true MyTest.dll"Running the SeaLights .NET Core agent as a background listener
Starting the SeaLights .NET Core agent background listener
dotnet ./sl-dotnet-agent/SL.DotNet.dll startBackgroundTestListener --buildSessionIdFile buildSessionId.txt --testListenerSessionKey SL_CovCollectorAgentSetting the SeaLights .NET Core agent as a profiler
Stopping the SeaLights .NET Core agent background listener
Last updated
Was this helpful?

