コード例 #1
0
        public void WhenRunOnWindowsDotnetHelpCommandShouldContainProperProcessInformation()
        {
            var proc = HelpCommand.ConfigureProcess("https://aka.ms/dotnet-build");

            Assert.Equal("cmd", proc.StartInfo.FileName);
            Assert.Equal("/c start https://aka.ms/dotnet-build", proc.StartInfo.Arguments);
        }