public void GeneratorOnEmptyRepoFails()
        {
            Util.InitEmptyRepo();

            var changelog = new Changelog();

            GitException ex = Assert.Throws <GitException>(() =>
            {
                changelog.Generate(new ChangelogOptions()
                {
                    Version          = "1.0.0",
                    WorkingDirectory = Util.GetFullPath(Util.EMPTY_REPO_DIR)
                });
            });

            StringAssert.Contains("Failed to read git tags", ex.Message);
            StringAssert.Contains("No commits found", ex.Message);
        }
        public void Setup()
        {
            Util.InitEmptyRepo();

            git = new Git(Util.GetFullPath(Util.EMPTY_REPO_DIR));
        }