public async Task KillByPort_Successful() { this.process = ProcessTool.Start(ExePath); await Task.Delay(2000); ProcessTool.KillByPort(ExePort); await Task.Delay(1000); Assert.IsTrue(this.process.HasExited); }
public void TestInitialize() { ProcessTool.KillByPort(ExePort); }