Example #1
0
        public TestRuntimeManager(JSTestSettings settings, TestRunEvents testRunEvents)
            : this(JsonDataSerializer.Instance, new ProcessHelper(), new JSProcess())
        {
            this.settings      = settings;
            this.testRunEvents = testRunEvents;

            this.jsProcess.EnableDebugLogs = this.settings.DebugLogs;
        }
Example #2
0
        public TestRunner()
        {
            this.executionComplete = new ManualResetEventSlim(false);
            this.testRunEvents     = new TestRunEvents();

            var hostDebug = Environment.GetEnvironmentVariable("JSTEST_HOST_DEBUG");

            if (!string.IsNullOrEmpty(hostDebug) && hostDebug == "1")
            {
                Debugger.Launch();
            }
        }