Ejemplo n.º 1
0
 protected static void Go(string assemblyFileName, Stream stream, AppDomainSupport appDomainSupport,
     Action<XunitFrontController, TestAssemblyConfiguration, ClientWriter> action)
 {
     using (AssemblyHelper.SubscribeResolve())
     using (var xunit = new XunitFrontController(appDomainSupport, assemblyFileName, shadowCopy: false))
     using (var writer = new ClientWriter(stream))
     {
         var configuration = ConfigReader.Load(assemblyFileName);
         action(xunit, configuration, writer);
     }
 }
Ejemplo n.º 2
0
 internal TestDiscoverySink(ClientWriter writer)
 {
     _writer = writer;
 }
Ejemplo n.º 3
0
 public TestRunSink(ClientWriter writer)
 {
     _writer = writer;
 }