37 references to Command
Aspire.Hosting (2)
Dcp\DcpExecutor.cs (1)
963
var exePath = executable.
Command
;
Publishing\ManifestPublishingContext.cs (1)
228
Writer.WriteString("command", executable.
Command
);
Aspire.Hosting.NodeJs.Tests (10)
PackageInstallationTests.cs (7)
37
Assert.All(nodeResources, resource => Assert.Equal("npm", resource.
Command
));
62
Assert.Equal("npm", nodeResource.
Command
);
86
Assert.Equal("yarn", nodeResource.
Command
);
121
Assert.Equal("yarn", nodeResource.
Command
);
147
Assert.Equal("pnpm", nodeResource.
Command
);
182
Assert.Equal("pnpm", nodeResource.
Command
);
359
Assert.Equal("yarn", installer.
Command
);
ResourceCreationTests.cs (3)
26
Assert.Equal("npm", resource.
Command
);
103
Assert.Equal("npm", nodeResource.
Command
);
174
Assert.Equal("npm", nodeResource.
Command
);
Aspire.Hosting.Python.Tests (19)
AddPythonAppTests.cs (19)
161
Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
165
Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.
Command
);
199
Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
203
Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.
Command
);
241
Assert.Equal(Path.Join(projectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
245
Assert.Equal(Path.Join(projectDirectory, ".venv", "bin", "python"), pythonProjectResource.
Command
);
407
Assert.Equal(Path.Join(expectedProjectDirectory, "custom-venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
411
Assert.Equal(Path.Join(expectedProjectDirectory, "custom-venv", "bin", "python"), pythonProjectResource.
Command
);
438
Assert.Equal(Path.Join(tempVenvDir.Path, "Scripts", "python.exe"), pythonProjectResource.
Command
);
442
Assert.Equal(Path.Join(tempVenvDir.Path, "bin", "python"), pythonProjectResource.
Command
);
524
Assert.Equal("uv", uvEnvironmentResource.
Command
);
686
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
690
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", "python"), pythonProjectResource.
Command
);
719
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", "python.exe"), pythonProjectResource.
Command
);
723
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", "python"), pythonProjectResource.
Command
);
753
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "Scripts", $"{executableName}.exe"), pythonProjectResource.
Command
);
757
Assert.Equal(Path.Join(expectedProjectDirectory, ".venv", "bin", executableName), pythonProjectResource.
Command
);
877
var initialCommand = pythonBuilder.Resource.
Command
;
882
var newCommand = pythonBuilder.Resource.
Command
;
Aspire.Hosting.Tests (6)
Dashboard\DashboardLifecycleHookTests.cs (4)
244
Assert.Equal("dotnet", executableResource.
Command
);
330
Assert.Equal("dotnet", executableResource.
Command
);
402
Assert.Equal("dotnet", executableResource.
Command
);
472
Assert.Equal("dotnet", executableResource.
Command
);
Dashboard\DashboardResourceTests.cs (2)
55
Assert.Equal("dotnet", dashboard.
Command
);
246
Assert.Equal("dotnet", dashboard.
Command
);