<!--- see: http://christianmuellerdesign.wordpress.com/2014/05/23/getting-startet-with-coldfusion-and-mxunit/ ---> | |
<cfcomponent displayname="mxunit.framework.Test" extends="mxunit.framework.TestCase"> | |
<cffunction name="firstTest" access="public" returntype="void"> | |
<cfscript> | |
addTrace("expected vs. actual" ); | |
assertTrue(true); | |
assertEquals(this.expected, true); | |
</cfscript> | |
</cffunction> | |
<cffunction name="setUp" access="public" returntype="void"> | |
<cfscript> | |
this.expected = true; | |
</cfscript> | |
</cffunction> | |
<cffunction name="tearDown" access="public" returntype="void"> | |
<cfscript> | |
this.expected = false; | |
</cfscript> | |
</cffunction> | |
</cfcomponent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment