Hello,
I have a question regarding test cases. My application lies in a root of
the server. coldbox is stored in the /coldbox/
My handlers are in /handlers/ directory
Tests are in /handlers/tests/cases/
And now the code :
//Setup ColdBox Mappings For this Test
setAppMapping("/");
setConfigMapping(ExpandPath(instance.AppMapping & “config/config.xml.cfm”));
//Call the super setup method to setup the app.
super.setup();
//EXECUTE THE APPLICATION START HANDLER: UNCOMMENT IF NEEDED AND FILL IT
OUT.
getController().runEvent(" ehGeneral.onAppInit");
//EXECUTE THE ON REQUEST START HANDLER: UNCOMMENT IF NEEDED AND FILL IT OUT
getController().runEvent(“ehGeneral.onRequestStart”);
And The Error :
The .handlers.ehGeneral name is not a valid component or interface name.
The url for accessing test case :
index.cfm?event=runTest&testClassName=handlers.tests.cases.generalTest&runnerType=html
Application itself works fine. But the tests not. What am i doing wrong ?
Regards
Bart