Will do. Thanks for the prompt reply!
Walter
Walter
Chutzpah console test runner (64-bit .NET 4.0.30319.34003) Copyright (C) 2013 Matthew Manela (http://matthewmanela.com). usage: chutzpah.console [options] usage: chutzpah.console <testFile> [options] Valid options: /silent : Do not output running test count /teamcity : Forces TeamCity mode (normally auto-detected) /wait : Wait for input after completion /failOnError : Return a non-zero exit code if any script errors or timeouts occurs /failOnScriptError : Alias for failOnError (deprecated) /debug : Print debugging information and tracing to console /trace : Logs tracing information to chutzpah.log /openInBrowser : Launch the tests in the default browser /timeoutMilliseconds : Amount of time to wait for a test file to finish before failing. (Defaults to 5000) /parallelism [n] : Max degree of parallelism for Chutzpah. Defaults to number of CPUs + 1 : If you specify more than 1 the test output may be a bit jumbled /path path : Adds a path to a folder or file to the list of test paths to run. : Specify more than one to add multiple paths. : If you give a folder, it will be scanned for testable files. : (e.g. /path test1.html /path testFolder) /file path : Alias for /path (deprecated) /vsoutput : Print output in a format that the VS error list recognizes /coverage : Enable coverage collection /coverageIncludes pat : Only instrument files that match the given shell patterns (in glob format), comma separated. /coverageExcludes pat : Don't instrument files that match the given shell pattern (in glob format), comma separated. /compilercachefile : File where compiled scripts can be cached. Defaults to a file in the temp directory. /compilercachesize : The maximum size of the cache in Mb. Defaults to 32Mb. /testMode : The mode to test in (All, Html, AllExceptHTML, TypeScript, CoffeeScript, JavaScript) /showFailureReport : Show a failure report after the test run. Usefull if you have a large number of tests. /junit filename : output results to JUnit-style XML file
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
Path | The path to either a file or a folder. If given a folder, it will be scanned recursively. This path can be relative to the location of the chutzpah.json file. |
Include | This is an optional include glob pattern. This is used when the Path is a folder. Only files matching the Include pattern will be added. |
Exclude | This is an optional exclude glob pattern. This is used when the path is a folder. All files matching the exclude pattern will not be added. |
IncludeInTestHarness | This determines if the reference should be injected into the test harness. When referencing files like .d.ts or files that you plan to load using require.js you should set this to false. Defaults to true. |
IsTestFrameworkFile | Indicated that this references should be placed directly after the test framework files (like QUnit.js) in the test harness. This ensures that this file is injected into the test harness before almost all other files. Defaults to false. |
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
Path | The path to either a file or a folder. If given a folder, it will be scanned recursively. This path can be relative to the location of the chutzpah.json file. |
Include | This is an optional include glob pattern. This is used when the Path is a folder. Only files matching the Include pattern will be added. |
Exclude | This is an optional exclude glob pattern. This is used when the path is a folder. All files matching the exclude pattern will not be added. |
IncludeInTestHarness | This determines if the reference should be injected into the test harness. When referencing files like .d.ts or files that you plan to load using require.js you should set this to false. Defaults to true. |
IsTestFrameworkFile | Indicated that this references should be placed directly after the test framework files (like QUnit.js) in the test harness. This ensures that this file is injected into the test harness before almost all other files. Defaults to false. |
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
Path | The path to either a file or a folder. If given a folder, it will be scanned recursively. This path can be relative to the location of the chutzpah.json file. |
Include | This is an optional include glob pattern. This is used when the Path is a folder. Only files matching the Include pattern will be added. |
Exclude | This is an optional exclude glob pattern. This is used when the path is a folder. All files matching the exclude pattern will not be added. |
IncludeInTestHarness | This determines if the reference should be injected into the test harness. When referencing files like .d.ts or files that you plan to load using require.js you should set this to false. Defaults to true. |
IsTestFrameworkFile | Indicated that this references should be placed directly after the test framework files (like QUnit.js) in the test harness. This ensures that this file is injected into the test harness before almost all other files. Defaults to false. |
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "References": [ { "Path": "../a.js" }, { "Path": "b.js"} ] }
{ "References": [ { "Path": "src/Code", "Include": "*.js", "Exclude": "*Resource*" } ] }
{ "Framework": "qunit|jasmine|mocha", "TestFileTimeout": "<Timeout in milliseconds>", "TestHarnessLocationMode": "TestFileAdjacent|SettingsFileAdjacent|Custom", "TestHarnessDirectory": "<Path to a folder>", "TestHarnessReferenceMode": "Normal|AMD", "TypeScriptCodeGenTarget" : "ES3|ES5", "TypeScriptModuleKind" : "CommonJS|AMD", "RootReferencePathMode":"DriveRoot|SettingsFileDirectory", "CodeCoverageIncludes": [], "CodeCoverageExcludes": [], "EnableCodeCoverage": "true|false", "References": [], "CustomTestHarnessPath": "<Path to custom test harness file>" }
Path | The path to either a file or a folder. If given a folder, it will be scanned recursively. This path can be relative to the location of the chutzpah.json file. |
Include | This is an optional include glob pattern. This is used when the Path is a folder. Only files matching the Include pattern will be added. |
Exclude | This is an optional exclude glob pattern. This is used when the path is a folder. All files matching the exclude pattern will not be added. |
IncludeInTestHarness | This determines if the reference should be injected into the test harness. When referencing files like .d.ts or files that you plan to load using require.js you should set this to false. Defaults to true. |
IsTestFrameworkFile | Indicated that this references should be placed directly after the test framework files (like QUnit.js) in the test harness. This ensures that this file is injected into the test harness before almost all other files. Defaults to false. |
{ "Framework": "qunit", "TestHarnessLocationMode": "SettingsFileAdjacent" }
{ "TypeScriptCodeGenTarget" : "ES5", "TestHarnessLocationMode": "Custom", "TestHarnessDirectory": "../Some/Folder" }
{ "CodeCoverageExcludes": ["*\\jquery.js"], "CodeCoverageIncludes": ["*query.js", "*\\dog.js"] }
{ "References": [ { "Path": "../a.js" }, { "Path": "b.js"} ] }
{ "References": [ { "Path": "src/Code", "Include": "*.js", "Exclude": "*Resource*" } ] }
/// <reference path="someDependency.js" />
/// <reference path="some/folder" />
{ "References": [ { "Path": "someDependency.js" }, { "Path": "some/folder", "Include": "*.js", "Exclude": "*Resource*" } ] }
/// <reference path="someDependency.js" chutzpah-exclude="true" />
/// <chutzpah_reference path="someDependency.js" />
/// <reference path="someDependency.js" />
/// <reference path="/someDependency.js" />
{ "RootReferencePathMode":"SettingsFileDirectory" }