Files
svc-api-x-naeel/v1/taffy/tests/tests/list.cfm
T
2024-10-23 11:17:42 +03:00

20 lines
586 B
Plaintext

<cfsetting showdebugoutput="false" />
<cfscript>
testsDir = expandPath('/Taffy/tests/tests');
componentPath = 'Taffy.tests.tests';
suite = createObject('mxunit.framework.TestSuite');
files = createObject('mxunit.runner.DirectoryTestSuite').getTests(directory=testsDir, componentPath=componentPath);
for (i = 1; i <= arrayLen(files); i++){
suite.addAll(files[i]);
}
tests = suite.suites();
for (t in tests){
tests[t] = tests[t].methods;
}
</cfscript>
<cfcontent reset="true" type="application/json; charset=UTF-8" /><cfoutput>#serializeJson(tests)#</cfoutput><cfabort/>