Beispiel #1
0
        public void ShouldProvideDefaultFalseWhenNull()
        {
            var target = new WithBaselineInput {
                SuppliedInput = null
            };

            var result = target.Validate();

            result.ShouldBeFalse();
        }
Beispiel #2
0
        public void ShouldNotBeEnabledWhenFalse()
        {
            var target = new WithBaselineInput {
                SuppliedInput = false
            };

            var result = target.Validate();

            result.ShouldBeFalse();
        }
Beispiel #3
0
        public void ShouldBeEnabledWhenTrue()
        {
            var target = new WithBaselineInput {
                SuppliedInput = true
            };

            var result = target.Validate();

            result.ShouldBeTrue();
        }
Beispiel #4
0
        public void ShouldHaveHelpText()
        {
            var target = new WithBaselineInput();

            target.HelpText.ShouldBe(@"EXPERIMENTAL: Use results stored in stryker dashboard to only test new mutants. | default: 'False'");
        }