jasmine_headless_webkit_dotnet.Test.Run C# (CSharp) Method

Run() public method

public Run ( ) : bool
return bool
        public bool Run()
        {
            tools.Hidrate();
            var testResult = phantomJS.Run();
            return testResult;
        }

Usage Example

 public static void RunFiles()
 {
     var sourceFile = Path.Combine("JasmineTests", "WithHtml", "Scripts", "calculator.js");
     var sourceFiles = new[] {sourceFile};
     var testFile = Path.Combine("JasmineTests", "WithHtml", "ScriptTests", "calculatorSumPassSpec.js");
     var testFiles = new[] {testFile};
     test = RunTestHelper.RunTestWithJSFiles(sourceFiles, testFiles);
     runSucceeded = test.Run();
 }
All Usage Examples Of jasmine_headless_webkit_dotnet.Test::Run