Пример #1
0
 public EMFixture()
 {
     controller = new EmbeddedEvoMasterController();
     controller.SetupForGeneratedTest();
     baseUrlOfSut = controller.StartSut();
     Assert.NotNull(baseUrlOfSut);
 }
Пример #2
0
        public static void Main(string[] args)
        {
            var controllerPort = 40100;

            if (args.Length > 0)
            {
                controllerPort = Int32.Parse(args[0]);
            }

            var embeddedEvoMasterController = new EmbeddedEvoMasterController();

            embeddedEvoMasterController.SetControllerPort(controllerPort);

            var instrumentedSutStarter = new InstrumentedSutStarter(embeddedEvoMasterController);

            System.Console.WriteLine($"Driver is starting on port {controllerPort}...\n");

            instrumentedSutStarter.Start();
        }