9 references to TestRootPath
Aspire.Templates.Tests (9)
NewUpAndBuildSupportProjectTemplatesTests.cs (1)
22
var topLevelDir = Path.Combine(BuildEnvironment.
TestRootPath
, id + "_root");
tests\Shared\TemplatesTesting\AspireProject.cs (1)
97
rootDir = projectDir = Path.Combine(BuildEnvironment.
TestRootPath
, id);
tests\Shared\TemplatesTesting\BuildEnvironment.cs (7)
196
Console.WriteLine($"*** Using path for projects: {
TestRootPath
}");
198
Directory.CreateDirectory(
TestRootPath
);
229
if (!Directory.Exists(
TestRootPath
))
236
Directory.Delete(
TestRootPath
, recursive: true);
242
Console.WriteLine($"\tFailed to delete {
TestRootPath
} . Deleting subdirectories.");
243
foreach (var dir in Directory.GetDirectories(
TestRootPath
))
259
throw new InvalidOperationException($"Error deleting '{
TestRootPath
}'.", ex);