mxunit cfe template

<cfcomponent displayname="Test${component}" extends="mxunit.framework.TestCase">

<cffunction name="setUp" returntype="void" access="public">
        <cfset variables.${component} = createObject("component","${componentPath}") />
</cffunction>

    <cffunction name="dumpvar" access="private">
        <cfargument name="var">
        <cfdump var="#var#">
        <cfabort/>
    </cffunction>

    <cffunction name="test${method}">
        <cfscript>
            variables.${component}.${method}(${cursor});
        
</cfscript>
    </cffunction>

</cfcomponent>

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.000. Contact Blog Owner