Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 749e500f09
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.744 kB
<cfparam name="url.debug" default="false">
<cfset dir = getDirectoryFromPath(getCurrentTemplatePath()) />
<cfset DTS = createObject("component","mxunit.runner.DirectoryTestSuite")>
<cfinvoke component="#DTS#"
method="run"
directory="#dir#"
componentpath="cfmongodb.test"
recurse="false"
excludes=""
returnvariable="Results">
<cfif NOT StructIsEmpty(DTS.getCatastrophicErrors())>
<cfdump var="#DTS.getCatastrophicErrors()#" expand="false" label="#StructCount(DTS.getCatastrophicErrors())# Catastrophic Errors">
</cfif>
<cfsetting showdebugoutput="true">
<cfoutput>#results.getResultsOutput("html")#</cfoutput>
<cfif isBoolean(url.debug) AND url.debug>
<div class="bodypad">
<cfdump var="#results#" label="Debug">
</div>
</cfif>
Jump to Line
Something went wrong with that request. Please try again.