Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.824 kb
<cfparam name="URL.output" default="extjs">
<cfset dir = expandPath(".")>
<cfoutput><h1>#dir#</h1></cfoutput>
<cfset DTS = createObject("component","mxunit.runner.DirectoryTestSuite")>
<cfset excludes = "">
<cfinvoke component="#DTS#"
method="run"
directory="#dir#"
recurse="true"
excludes="#excludes#"
returnvariable="Results"
componentpath="????.????"> <!--- <-- Fill this in! This is the root component path for your tests. if your tests are at {webroot}/app1/test, then your componentpath will be app1.test --->
<cfif NOT StructIsEmpty(DTS.getCatastrophicErrors())>
<cfdump var="#DTS.getCatastrophicErrors()#" expand="false" label="#StructCount(DTS.getCatastrophicErrors())# Catastrophic Errors">
</cfif>
<cfsetting showdebugoutput="true">
<cfoutput>#results.getResultsOutput(URL.output)#</cfoutput>
Jump to Line
Something went wrong with that request. Please try again.