12 references to ExecuteAsync
Aspire.Workload.Tests (12)
BuildAndRunTemplateTests.cs (1)
145
var res = await buildCmd.
ExecuteAsync
("run");
PerTestFrameworkTemplatesTests.cs (1)
55
var res = await cmd.
ExecuteAsync
($"test -c {config}");
tests\Shared\WorkloadTesting\AspireProject.cs (6)
103
var res = await cmd.
ExecuteAsync
(cmdString).ConfigureAwait(false);
308
var res = await restoreCmd.
ExecuteAsync
($"restore \"-bl:{Path.Combine(LogPath!, $"{Id}-restore.binlog")}\" /p:TreatWarningsAsErrors=true");
318
res = await buildCmd.
ExecuteAsync
(buildArgs);
408
(await cmd.
ExecuteAsync
($"container list --all").ConfigureAwait(false))
427
var res = (await cmd.
ExecuteAsync
($"container list --all --filter name={component} --format {{{{.Names}}}}"))
440
(await cmd.
ExecuteAsync
($"container logs {containerName} -n 50"))
tests\Shared\WorkloadTesting\TemplateCustomHive.cs (1)
110
var res = await cmd.
ExecuteAsync
(installCmd);
WorkloadTestsBase.cs (3)
67
var res = await newTestCmd.
ExecuteAsync
($"{testTemplateName} {tmfArg} -o \"{testProjectName}\"");
333
(await buildCmd.
ExecuteAsync
($"test -c {config}")).EnsureSuccessful();
340
var testRes = (await testCmd.
ExecuteAsync
($"test -c {config} --no-build"))