Add past project meeting summary tools
PR and Push Build/Test / build-and-test (push) Failing after 10m56s

This commit is contained in:
2026-05-29 10:30:48 +02:00
parent 9d2153484a
commit 626640e26b
16 changed files with 695 additions and 109 deletions
@@ -0,0 +1,25 @@
using System.Diagnostics;
using MeetingAssistant.Transcription;
namespace MeetingAssistant.Tests;
public sealed class ProcessCommandRunnerTests
{
[Fact]
public void CreateStartInfoRunsCliProcessesWithoutVisibleWindows()
{
var startInfo = ProcessCommandRunner.CreateStartInfo(
"docker",
["run", "--rm", "meeting-assistant-pyannote:local"],
new Dictionary<string, string> { ["HF_TOKEN"] = "token" });
Assert.False(startInfo.UseShellExecute);
Assert.True(startInfo.CreateNoWindow);
Assert.Equal(ProcessWindowStyle.Hidden, startInfo.WindowStyle);
Assert.True(startInfo.RedirectStandardOutput);
Assert.True(startInfo.RedirectStandardError);
Assert.Equal("docker", startInfo.FileName);
Assert.Equal(["run", "--rm", "meeting-assistant-pyannote:local"], startInfo.ArgumentList);
Assert.Equal("token", startInfo.Environment["HF_TOKEN"]);
}
}