diff --git a/src/GitVersionExe.Tests/ArgumentParserTests.cs b/src/GitVersionExe.Tests/ArgumentParserTests.cs index 90abf38e50..6edcc218a0 100644 --- a/src/GitVersionExe.Tests/ArgumentParserTests.cs +++ b/src/GitVersionExe.Tests/ArgumentParserTests.cs @@ -10,17 +10,6 @@ [TestFixture] public class ArgumentParserTests { - [Explicit] - [Test] - public void PrintEntireHelp() - { - Parser.Default.ParseArguments(new[] { "help" }, AllOptionTypes().ToArray()); - foreach (var verb in AllVerbs()) - { - PrintVerbHelp(verb); - } - } - [TestCaseSource("AllVerbs")] public void PrintVerbHelp(string verb) { @@ -34,7 +23,7 @@ IEnumerable AllVerbs() .Where(a => a != null).Select(a => a.Name); } - IEnumerableAllOptionTypes() + IEnumerable AllOptionTypes() { yield return typeof(InspectOptions); yield return typeof(InitOptions); @@ -49,8 +38,8 @@ IEnumerable AllVerbs() public void InputVariablesMustHaveCorrectDefaultValues() { var iv = new InputVariables(); - - iv.TargetUrl.ShouldBe(null); + + iv.TargetUrl.ShouldBe(null); iv.DynamicRepositoryLocation.ShouldBe(null); @@ -69,6 +58,15 @@ public void InputVariablesMustHaveCorrectDefaultValues() iv.TargetPath.ShouldBe(Environment.CurrentDirectory); } - // add tests for mapping input options to input variables + [Explicit] + [Test] + public void PrintEntireHelp() + { + Parser.Default.ParseArguments(new[] {"help"}, AllOptionTypes().ToArray()); + foreach (var verb in AllVerbs()) + { + PrintVerbHelp(verb); + } + } -} +} \ No newline at end of file