public TestsGenerator(int maxReadersCount, int maxGeneratorsCount, int maxWritersCount, string outputDir) { this.maxGeneratorsCount = maxGeneratorsCount; this.maxReadersCount = maxReadersCount; this.maxWritersCount = maxWritersCount; writer = new TestWriter(outputDir); reader = new TestReader(); }
public DirectoryRunner(ITestRunner runner, ITestReader reader, IResultsSummary summary, IFileSystem system, DirectoryRunnerSetup setup) { _runner = runner; _reader = reader; _summary = summary; _system = system; _setup = setup; }
public TestsGenerator(int maxReadersCount, int maxGeneratorsCount, int maxWritersCount, ITestWriter writer, ITestReader reader) { this.maxGeneratorsCount = maxGeneratorsCount; this.maxReadersCount = maxReadersCount; this.maxWritersCount = maxWritersCount; this.writer = writer; this.reader = reader; }
public void Init() { outputDirectory = Path.Combine("..", "..", "TestDirectoryOutput"); inputDirectory = Path.Combine("..", "..", "TestDirectoryInput"); writer = new TestWriter(outputDirectory); reader = new TestReader(); generator = new TestsGenerator(1, 1, 1, writer, reader); generator.Generate(Directory.GetFiles(inputDirectory).ToList()).Wait(); generatedUnit = ParseCompilationUnit(File.ReadAllText(Path.Combine(outputDirectory, "TestClasses.cs"))); }
public TestConverter(ITestReader reader, ITestWriter writer) { _reader = reader; _writer = writer; }
public FolderTestLoader(ITestReader reader) : this(reader, Environment.CurrentDirectory) { }
public FolderTestLoader(ITestReader reader, string folderPath) { TestReader = reader; FolderPath = folderPath; }
public TestStorage(string path, ITestReader reader, string username) : base(path, reader, username) { this.tests = new Dictionary <string, Testing>(); this.CurrentTest = null; }