Esempio n. 1
0
            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);
            }
Esempio n. 2
0
            public void Should_Set_Configuration()
            {
                // Given
                var settings = new DotNetBuildSettings(new FilePath("./Test.sln"));

                // When
                settings.SetConfiguration("TheConfiguration");

                // Then
                Assert.Equal("TheConfiguration", settings.Configuration);
            }