Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var environment = (args.Length > 0) ? args[0] : "prod";
            var proxy       = (args.Length > 1) ? args[1] : null;

            var factory = new TestRunFactory(new Screenly.Client.Client());

            using (var testRun = factory.StartTestRun("sitecore-production").Result)
            {
                var tester = new TestRunner(testRun, "http://127.0.0.1:4444/wd/hub");

                var testClass = new Tests(environment, proxy);

                tester.Test(testClass);
            }
        }