TestBox issue on Railo Express

I pulled the Railo Express 4.1.2.004 update before trying out testbox. I created a new context so it is running in it’s own instance. The system is running on Windows 8.1 and it is a old school i7 quad, hyperthreaded PC.

http://wiki.coldbox.org/wiki/TestBox.cfm is the wiki for TestBox and it says to do the following to make things work.

this.mappings[ "/mxunit" ] = expandPath( "/testbox/system/testing/compat" );

Did that and it gives me this error in my Railo Express install.

Railo 4.1.2.004 Error (expression)
Message invalid component definition, can’t find mxunit.runner.DirectoryTestSuite
Stacktrace The Error Occurred in
C:\railo4\webapps\github\Suite.cfm: line 8


> 6:

#dir#


> 7:
> 8: <cfset DTS = createObject(“component”,“mxunit.runner.DirectoryTestSuite”)>
> 9: <!— comma delimited list —>
> 10: <cfinvoke component="#DTS#"


??? Is the mapping broke for anyone else?

At best guess, I would say that the web root is not the folder you are running in.

Decent guess but it is in the web root of that instance. (I believe.)

Just checking: did you cycle Railo after you created the mapping and are application-specifc mappings enabled?

Jon

John,

I guess we have not implemented suite class: mxunit.runner.DirectoryTestSuite

Let me give this a shot and I will post back with my feedback.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

John,

I have finalized this compatibility in the dev branch.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

signature0.jpg