public async Task Execute() { var cmd = Agreements.GenerateProject.Executable(); var zipBytes = await cmd.ExecuteAsync(); var buildFolder = Path.Combine(Path.GetTempPath(), "GpTmp"); TestContext.Progress.WriteLine($"Building project {cmd.Name} in {buildFolder}"); Unzip(zipBytes, buildFolder); Exec.Cmd("dotnet", "restore build.proj", buildFolder); Exec.Cmd("dotnet", "msbuild build.proj /m:999 /p:FilterTest=TestCategory!=Slow", buildFolder); //// Assert DB? NUnit logs? Exec.Cmd("dotnet", "clean build.proj", buildFolder); Exec.Cmd("dotnet", "build-server shutdown", buildFolder); DeleteFolder(buildFolder, 5); }