Exemplo n.º 1
0
        public void should_pass_help_argument_to_runner()
        {
            var args = new string[]
            {
                "--help"
            };

            Runner runner = new Runner();
            Assert.That(runner.Run(args), Is.Not.EqualTo("done"));
        }
Exemplo n.º 2
0
        public void should_pass_all_arguments_to_runner()
        {
            var args = new string[]
            {
                "--path=c:\\code",
                "--wipedata",
                "--smartupdate"
            };

            Runner runner = new Runner();
            Assert.That(runner.Run(args), Is.EqualTo("imported folder c:\\code"));
        }
Exemplo n.º 3
0
 public static void Main(string[] args)
 {
     Runner runner = new Runner();
     Console.WriteLine(runner.Run(args));
 }