public void Should_Return_The_Same_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When var result = settings.WithTarget("Target"); // Then Assert.Equal(settings, result); }
public void Should_Add_Target_To_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When settings.WithTarget("Target"); // Then Assert.True(settings.Targets.Contains("Target")); }