Fix discovering tests
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
Microsoft.Testing.Platform client from https://github.com/microsoft/testfx/blob/9e7fc6dc63e127bc18c17794a581776547655393/samples/Playground/ServerMode/TestingPlatformClientFactory.cs
|
||||||
|
|
||||||
@@ -9,11 +9,11 @@ namespace SharpIDE.Application.Features.Testing.Client;
|
|||||||
|
|
||||||
public partial /* for codegen regx */ class TestingPlatformClientFactory
|
public partial /* for codegen regx */ class TestingPlatformClientFactory
|
||||||
{
|
{
|
||||||
private static readonly string Root = RootFinder.Find();
|
//private static readonly string Root = RootFinder.Find();
|
||||||
private static readonly Dictionary<string, string> DefaultEnvironmentVariables = new()
|
private static readonly Dictionary<string, string> DefaultEnvironmentVariables = new()
|
||||||
{
|
{
|
||||||
{ "DOTNET_ROOT", $"{Root}/.dotnet" },
|
//{ "DOTNET_ROOT", $"{Root}/.dotnet" },
|
||||||
{ "DOTNET_INSTALL_DIR", $"{Root}/.dotnet" },
|
//{ "DOTNET_INSTALL_DIR", $"{Root}/.dotnet" },
|
||||||
{ "DOTNET_SKIP_FIRST_TIME_EXPERIENCE", "1" },
|
{ "DOTNET_SKIP_FIRST_TIME_EXPERIENCE", "1" },
|
||||||
{ "DOTNET_MULTILEVEL_LOOKUP", "0" },
|
{ "DOTNET_MULTILEVEL_LOOKUP", "0" },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user