Created
January 16, 2012 13:57
-
-
Save bittersweetryan/1620993 to your computer and use it in GitHub Desktop.
Blog Post - Ordered Test Decorator
This file contains hidden or 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
<cfscript> //ignore, just here to get syntax coloring | |
/** | |
*@order 1 | |
*/ | |
public void function testIfVariableExists() { | |
assertEquals(isDefined("someVariableWithALongName") ,"__"); | |
} | |
/** | |
*@order 2 | |
*/ | |
public void function testIfAVariableExists(){ | |
//the isdefined function will tell you if a variable exists or not | |
assertEquals(isDefined("foo"),"__"); | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment