public void CreateHtmlTableTest() { string templPath = Path.Combine(TestSupport.TestFilesDirectory, "HtmlTemplate.stg"); string resultPath = Path.Combine(TestSupport.CreatedFilesDirectory, "output.htm"); TestCasesRoot tcRoot = TestCasesRoot.CreateSimpleTable(); var templResult = tcRoot.GenerateFromtemplate(templPath); File.WriteAllText(resultPath, templResult.GeneratedContent); Assert.That(!templResult.ErrorListener.ErrorReported); Assert.That(TestSupport.CompareFile(TestSupport.CreatedFilesDirectory, TestSupport.ReferenceFilesDirectory, Path.GetFileName(resultPath))); }