Last active
October 7, 2016 19:24
-
-
Save elpete/e2650a3b3d8269d7f0d51793a77c355f to your computer and use it in GitHub Desktop.
Default runner for TestBox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component { | |
this.name = 'TestBoxTestingSuite' & hash(getCurrentTemplatePath()); | |
this.sessionManagement = true; | |
this.sessionTimeout = createTimeSpan(0, 0, 15, 0); | |
this.applicationTimeout = createTimeSpan(0, 0, 15, 0); | |
this.setClientCookies = true; | |
this.mappings['/tests'] = getDirectoryFromPath(getCurrentTemplatePath()); | |
rootPath = REReplaceNoCase(this.mappings['/tests'], 'tests(\\|/)', ''); | |
this.mappings['/root'] = rootPath; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfsetting showDebugOutput="false"> | |
<!--- Executes all tests in the 'specs' folder with simple reporter by default ---> | |
<cfparam name="url.reporter" default="simple"> | |
<cfparam name="url.directory" default="tests.specs"> | |
<cfparam name="url.recurse" default="true" type="boolean"> | |
<cfparam name="url.bundles" default=""> | |
<cfparam name="url.labels" default=""> | |
<cfparam name="url.reportpath" default="#expandPath( "/tests/results" )#"> | |
<cfparam name="url.propertiesFilename" default="TEST.properties"> | |
<cfparam name="url.propertiesSummary" default="false" type="boolean"> | |
<!--- Include the TestBox HTML Runner ---> | |
<cfinclude template="/testbox/system/runners/HTMLRunner.cfm" > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment