public void Should_Return_The_Same_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When var result = settings.SetConfiguration("TheConfiguration"); // Then Assert.Equal(settings, result); }
public void Should_Set_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When settings.SetConfiguration("TheConfiguration"); // Then Assert.Equal("TheConfiguration", settings.Configuration); }