Last active
August 29, 2015 14:01
-
-
Save Macagare/1f51ce98ec65c74fd504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- 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