public override bool Execute() { ChangelogBuilder clb = new ChangelogBuilder { Assembly_Info_Path = AssemblyInfoPath, Changelog_FilePath = ChangelogFilePath, Tag_End = TagEnd, Tag_Start = TagStart }; return clb.Build(); }
public void CreateChangelog() { ChangelogBuilder clb = new ChangelogBuilder { Assembly_Info_Path = dummyAssemblyInfo, Changelog_FilePath = dummyChangelog, Tag_End = null, Tag_Start = null }; bool result = clb.Build(); Assert.IsTrue(result, "changelog build execution failed"); Assert.IsTrue(File.Exists(dummyChangelog), "file not created"); }