Skip to content

Instantly share code, notes, and snippets.

@Macagare
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Macagare/1f51ce98ec65c74fd504 to your computer and use it in GitHub Desktop.
Save Macagare/1f51ce98ec65c74fd504 to your computer and use it in GitHub Desktop.
<!--- 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