Test Case problem

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

If you will be testing handlers in the root, you will need the
following workaround in the setup() method:

setAppMapping("\");

That is it. You need to put a backslash instead of the usual "/".
This is so the framework knows that it is not blank and in the root,
to override the auto-calculation.

That is it, for root unit test handling. Will be adding to the docs
now.