public void WithSourceFilesAndTestFilesTypeShouldBeJSFiles()
 {
     var args = new Arguments { SourceFiles = new string[1], TestFiles = new string[1] };
     args.RunType.Should().Be(RunType.JSFiles);
 }
 public void WithSourceFilesAndWithoutTestFilesTypeShouldBeHelp()
 {
     var args = new Arguments {SourceFiles = new string[1]};
     args.RunType.Should().Be(RunType.Help);
 }
 public void WithHelpTypeShouldBeHelp()
 {
     var args = new Arguments {Help = true};
     args.RunType.Should().Be(RunType.Help);
 }
 public void WithHelpAndOtherConsistentArgsStillTypeShouldBeHelp()
 {
     var args = new Arguments { Help = true, SourceFiles = new string[1], TestFiles = new string[1] };
     args.RunType.Should().Be(RunType.Help);
 }
 public void WithFileNameTypeShouldBeHtmlFile()
 {
     var args = new Arguments { FileName = "b"};
     args.RunType.Should().Be(RunType.HtmlFile);
 }
 public void WithConfigFileShouldBeConfigFiles()
 {
     var args = new Arguments { ConfigFile = "aa"};
     args.RunType.Should().Be(RunType.ConfigFile);
 }
 public void EmptyShouldBeDefault()
 {
     var args = new Arguments();
     args.RunType.Should().Be(RunType.Default);
 }