Open kevholditch opened 9 years ago
Abstract the building of the test setup (context) behind a builder. So we can reuse the steps across multiple tests
Given.IHaveCrane .And.IHaveGit .And.IHaveCreatedTheSolution(b => b.WithSolution(solution => solution.Path = Path.Combine(craneTestContext.BuildOutputDirectory, "ServiceStack", "ServiceStack.sln")) .WithFile(text => AddSolutionPackagesConfigWithXUnitRunner(text, Path.Combine(craneTestContext.BuildOutputDirectory, "ServiceStack", ".nuget", "packages.config"))) .WithProject(project => project.Name = "ServiceStack.Core") .Build()) .And.IHaveCreatedACommit("my first commit")
Abstract the building of the test setup (context) behind a builder. So we can reuse the steps across multiple tests