Problems with CB6 and setting up testing on Railo

I am trying to get testing set up.
I went through the video on http://wiki.coldbox.org/wiki/Testing.cfm

I have a site on a virtual host and access it via mysite.l
so my root dir is
/colbox
/mxunit
/test
test.txt
etc

so i can call mysite.l/test.txt for example

I think i set up everything ok but when i run the default tests i get

railo.runtime.exp.ExpressionException: invalid component definition, can’t find mysite.l.test.integration.GeneralTest

i.e. its appending mysite.l to the component path but the path is actuall test.integration etc…

The WSDL request works and my appmapping on the integration tests cfcs above is blank as i believe it should be.

Any ideas?

Thanks

Can you show us how you’re calling the tests? There’s usually a mapping path you pass in that might be incorrect.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

In CF Builder i click the properties of the CF Project and go to the MX Unit item. The “Overrride Test Runner URL” is set to
http://mysite.l/test/resources/remotefacade.cfc?wsdl

which works and the ping test is successful. Also i get the wsdl result in the browser.

My remotefacade.cfc is the below.

When i run the tests using CTRL+7 or use the Run MX Tests i get nothing i.e no sign of action in the MX Unit view.

If i right click on a test case cfc e.g. in integration folder and execute “Run Tests” i get the path issue mentioned above,but running the tests in the browser works fine e.g.
http://mysite.l/test/integration/generaltest.cfc?method=runtestremote&output=html

In the MX Unit properties the cfc path is set to blank

Should this work in CFBuilder with Railo?
I tried to run the TestSuite.cfm in the tests dir and got an error informing me the cfcexplorerer couldnt be found in CFIDE location so there is something in mxunit that for that anyway needs Adobe CF

Any ideas?

Thanks

I know it can be done with Railo. You may get better help over on the MXUnit group:
https://groups.google.com/forum/?fromgroups#!forum/mxunit

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Ade, did you happen to get this to work?

I’m having the same issue.

Thanks.

Nolan

We need more data from you. Setup code etc