Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: develop
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.712 kb
<!---
Note that there are not HTML tags as these are generated by the XSL
found in the TestResult.cfc component. Alternatively, you could use
the mxunit.TestResult.getXMLDomResults() and pass in the optional
XSL argument, your custom XSL. You could also just use the
mxunit.TestResult.getResults() method to get the raw XML.
--->
<cfscript>
testSuite = createObject("component","mxunit.framework.TestSuite").TestSuite(); //TestSuite() is the constructor
testSuite.addAll("path.to.myTest");
testSuite.addAll("path.to.myOtherTest");
//Create mxunit.framework.TestResult object
results = testSuite.run();
</cfscript>
<!--- Output the results --->
<cfoutput>#results.getHtmlResults()#</cfoutput>
Jump to Line
Something went wrong with that request. Please try again.