예제 #1
0
        public static void Echo(string projectConfigurationFile, ProjectConfiguration projectConfiguration)
        {
            // WriteLine(" ") instead of WriteLine() so that it formats the same in a nant exec also (which otherwise skips blank lines)
            WriteLine("using:");
            WriteLine("   config: " + Path.GetFullPath(projectConfigurationFile));

            WriteLine();
            WriteLine("   outputs: ");
            foreach (OutputConfiguration output in projectConfiguration.Outputs)
            {
                Format("      {0}", output.OutputWriter);
                Format("         in assembly {0}", output.OutputWriterAssembly);
                Format("         writing to {0} {1}", output.Channel.Type, output.Channel.File);
                WriteLine();
            }

            WriteLine(" ");
            WriteLine("   fixture assemblies: ");
            foreach (string assembly in projectConfiguration.FixtureAssemblies)
            {
                WriteLine("      " + assembly);
            }
            WriteLine(" ");
            WriteLine("----------");
            WriteLine(" ");
        }
예제 #2
0
 public Session(
     ProjectConfiguration configuration, Assemblies assemblies,
     TestReaders testReaders, IResultsWriter resultsWriter)
 {
     this.configuration = configuration;
     this.assemblies = assemblies;
     this.testReaders = testReaders;
     this.resultsWriter = resultsWriter;
     testRunner = new TestRunner(assemblies);
 }
예제 #3
0
 public TestReaders(ProjectConfiguration configuration)
 {
     this.configuration = configuration;
 }