I’m trying to use mxunit under Coldbox. I’m fairly new to unit testing (as is this client, who has never even heard of it)… so I’m trying to set it up for them while expanding my own skillset.
Anyway, I have the framework installed on the webroot, the mxunit plug-in in Eclipse, etc The current path is server:1234/mxunit or server:1234/myapp/test
In the mxunit properties under the project, I have myapp.test specified in the component root. Yet whenever I try to run the test, I get:
coldfusion.xml.rpc.CFCInvocationException: [coldfusion.runtime.CfJspPage$NoSuchTemplateException : Could not find the ColdFusion component or interface ObjectUnderTest.Ensure that the name is correct and that the component or interface exists.]
I’ve been Googling but haven’t come up with anything that has helped. I keep playing with the component root but that hasn’t helped either.
What am I doing wrong?