public void HeatAnalyzerGetUsersTest() { using (var repo = new GitRepository(defaultRepo, "repoName")) { var ha = new HeatAnalyzer(repo); var users = ha.GetUsers(); Assert.IsNotNull(users); CollectionAssert.AllItemsAreUnique(users); repo.DeleteRepository(); } }
public void RoslynTest() { using (var repo = new GitRepository(roslynRepo, "roslyn")) { //repo.GetLatestChanges(); var ha = new HeatAnalyzer(repo); var users = ha.GetUsers(); Assert.IsNotNull(users); var userCommits = ha.GetUserCommits(users.First().Name); Assert.IsNotNull(userCommits); CollectionAssert.AllItemsAreUnique(userCommits); repo.DeleteRepository(); } }