Created
January 16, 2012 13:58
-
-
Save bittersweetryan/1621002 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
<cffunction name="testIsQuery" returntype="void" output="false" order="1"> | |
<cfset var myQry = buildQueryObj()> | |
<!--- Check that a variable is a query ---> | |
<cfset assertEquals(IsQuery(myQry),"___")> | |
</cffunction> | |
<cffunction name="testGettingQueryRecordCount" returntype="void" output="false" order="2"> | |
<cfset var myQry = buildQueryObj()> | |
<!--- The total number of records in a returned query can be accessed using the recordcount ---> | |
<cfset assertEquals(myQry.recordCount,"___")> | |
</cffunction> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment