After setting these environment variables, run your tests as you normally do by using dotnet test or VSTest.Console.exe:
dd-trace ci run --dd-service=my-dotnet-app --dd-env=ci -- dotnet test
dd-trace ci run --dd-service=my-dotnet-app --dd-env=ci -- VSTest.Console.exe {test_assembly}.dll
UI activation
In addition to setting the environment variables, you or a user in your organization with “Intelligent Test Runner Activation” permissions must activate the Intelligent Test Runner on the Test Service Settings page.
Further Reading
Additional helpful documentation, links, and articles: