Files
speckle.xunit.runner.wpf/xunit.runner.worker/Program.cs
T
Jared Parsons f367f9c01f Factor discover to a better interface
The discover process still needs a ton of work but this at least puts it
behind a slightly better interface.
2015-08-19 11:07:45 -07:00

31 lines
962 B
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using xunit.runner.data;
namespace xunit.runner.worker
{
public static class Program
{
public static void Main(string[] args)
{
using (var namedPipeServer = new NamedPipeServerStream(Constants.PipeName))
{
namedPipeServer.WaitForConnection();
var fileName = args.Length == 0
? @"C:\Users\jaredpar\Documents\Github\VsVim\Test\VimWpfTest\bin\Debug\Vim.UI.Wpf.UnitTest.dll"
: args[0];
Console.WriteLine($"discover started: {fileName}");
Discover.Go(fileName, namedPipeServer);
Console.WriteLine("discover ended");
namedPipeServer.Close();
Console.WriteLine("pipe closed");
}
}
}
}