public void IterationRegisterTest() { SprintConfiguratorCLI.CommandLineOption = SprintGeneratorOptions; var iteration = new Iterations(SprintGeneratorOptions); var result = iteration.RegisterIterations(); Assert.IsTrue(result.Result, $"Failed to Authentication for {SprintGeneratorOptions.Url}"); }
public void NothingTeamTest() { SprintGeneratorOptions.Team = "NotExistTeam"; SprintConfiguratorCLI.CommandLineOption = SprintGeneratorOptions; var iteration = new Iterations(SprintGeneratorOptions); var result = iteration.RegisterIterations(); Assert.IsFalse(result.Result); }
public void NothingUrlTest() { SprintGeneratorOptions.Url = "https://nothing.exsample.com"; SprintConfiguratorCLI.CommandLineOption = SprintGeneratorOptions; var iteration = new Iterations(SprintGeneratorOptions); var result = iteration.RegisterIterations(); Assert.IsFalse(result.Result, $"Failed to Authentication for {SprintGeneratorOptions.Url}"); }