public void TestCreatorCreatesTemplate() { testsCreator.SetReadMethod(null); testsCreator.SetWriteMethod(testMethods.WriteToFileTest_1); testsCreator.StartTestCreation(@"..\..\..\TestClasses").Wait(); Assert.IsTrue(testMethods.testResult); }
static void Main(string[] args) { TestsCreator testsCreator = new TestsCreator(2, 2, 2, @"\GeneratedTests"); testsCreator.SetReadMethod(ReadFromFile); testsCreator.SetWriteMethod(WriteToFile); testsCreator.StartTestCreation(@"D:\GitHub\MPP-TestsGenerator\TestsGenerator\Classes").Wait(); Console.Write("Done"); Console.ReadLine(); }