File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed
src/Stryker.CLI/Stryker.CLI.UnitTest Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ public void ShouldDisplayInfoOnHelp()
59
59
60
60
var expected = @"Stryker: Stryker mutator for .Net
61
61
62
- Stryker mutator for .Net
62
+ The mutation test framework for .Net
63
63
64
- Usage: Stryker [options]
64
+ Usage: Stryker [command] [ options]
65
65
66
66
Options:" ;
67
67
sw . ToString ( ) . ShouldStartWith ( expected ) ;
@@ -416,6 +416,29 @@ public void ShouldSupplyWithBaselineWhenPassed(params string[] argName)
416
416
_inputs . WithBaselineInput . SuppliedInput . Value . ShouldBeTrue ( ) ;
417
417
}
418
418
419
+ [ Theory ]
420
+ [ InlineData ( "baseline" ) ]
421
+ public void ShouldSupplyWithBaselineWhenCommandPassed ( params string [ ] argName )
422
+ {
423
+ _target . Run ( argName ) ;
424
+
425
+ _strykerRunnerMock . VerifyAll ( ) ;
426
+
427
+ _inputs . WithBaselineInput . SuppliedInput . Value . ShouldBeTrue ( ) ;
428
+ }
429
+
430
+ [ Theory ]
431
+ [ InlineData ( "baseline" , "recreate" ) ]
432
+ public void ShouldSetBaselineRecreateWhenCommandPassed ( params string [ ] argName )
433
+ {
434
+ _target . Run ( argName ) ;
435
+
436
+ _strykerRunnerMock . VerifyAll ( ) ;
437
+
438
+ _inputs . WithBaselineInput . SuppliedInput . Value . ShouldBeTrue ( ) ;
439
+ _inputs . BaselineRecreateEnabledInput . SuppliedInput . ShouldBeTrue ( ) ;
440
+ }
441
+
419
442
[ Theory ]
420
443
[ InlineData ( "-o" , null ) ]
421
444
[ InlineData ( "-o:html" , "html" ) ]
You can’t perform that action at this time.
0 commit comments