Example #1
0
        protected virtual void FindTestRunnerHttpPath()
        {
            string jsUnitRunnerPath = diskProvider.FindFile(webServer.WebRootDirectory, TestRunnerHtmlFileName);

            if (jsUnitRunnerPath == null)
            {
                throw new FileNotFoundException(
                          "Could not find the JsUnit test runner.", TestRunnerHtmlFileName);
            }

            testRunnerPath = webServer.MakeHttpUrl(jsUnitRunnerPath);
        }