public void it_should_return_opts_with_debug_tests_empty() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.DebugTests = new string[0]; actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_opts_with_tags_null() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.Tags = null; actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_opts_with_debug_channel_false() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.DebugChannel = false; actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_opts_with_formatter_options_empty() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.FormatterOptions = new Dictionary <string, string>(); actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_opts_with_failfast_false() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.FailFast = false; actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_opts_with_class_name_null(string[] args) { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.ClassName = null; actual = parser.Parse(args); actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_nspec_opts_empty() { var expected = new NSpecCommandLineOptions() { FormatterOptions = new Dictionary <string, string>(), DebugTests = new string[0], UnknownArgs = new string[0], }; actual.ShouldBeEquivalentTo(expected); }
public void it_should_return_nspec_opts_with_unknown_args() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); expected.UnknownArgs = new string[] { "unknown1", "unknown2", "unknown3", }; actual.ShouldBeEquivalentTo(expected); }
public void setup() { var allDotNetOptions = new DotNetCommandLineOptions(Data.DotNet.allOptions); var allNSpecOptions = new NSpecCommandLineOptions(Data.NSpec.allOptions); allOptions = new LaunchOptions() { DotNet = allDotNetOptions, NSpec = allNSpecOptions, UnknownArgs = someUnknownArgs, }; parser = new ArgumentParser(); actual = parser.Parse(allArguments); }
public void it_should_return_nspec_opts_only() { var expected = new NSpecCommandLineOptions(Data.NSpec.allOptions); actual.ShouldBeEquivalentTo(expected); }