public void GivenASprintWithTheFollowingStories(Table table) { sprint = new Sprint(); foreach (var row in table.Rows) { sprint.Stories.Add(new UserStory { Effort = double.Parse(row["Effort"], CultureInfo.GetCultureInfo("en").NumberFormat), IsDone = bool.Parse(row["IsDone"]) }); } }
public void GivenIHaveASprint() { sprint = new Sprint(); GenericSteps.StoreEntityForCurrentScenario(sprint); }