<cffunction name="getUserShouldReturnUserBean">
<cfset var myName = "Marvin" <!--- oops, I didn't close my cfset statement! --->
<cfset assertEquals(
myName,
"Marvin",
"the user bean did not return the expected ID. something weird is going on."
)>
</cffunction>
Brian,
Maybe we're the only people out on the lists today :)
As you said, that's a syntax error. In CF, you can equate that to a compile error, the rough meaning is that the server can't even get up to the point of testing it. Your unit test can at least point out that the file won't compile, but unfortunately that's not a kind of error that you can catch.
Again, I don't know how helpful this is, but I hope you can understand it a bit better
Nathan Strutz
--
You received this message because you are subscribed to the Google Groups "mxunit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mxunit+un...@googlegroups.com.
To post to this group, send email to mxu...@googlegroups.com.
Visit this group at http://groups.google.com/group/mxunit.
For more options, visit https://groups.google.com/d/optout.
Maybe we're the only people out on the lists today :)
Your unit test can at least point out that the file won't compile
I'll try to remember to share a test tomorrow that does a full compile of your site and report am mxunit error for each file that doesn't compile.