Regarding TestBox, is there a way to separate my o...
# box-products
j
Regarding TestBox, is there a way to separate my own tests from the source code installed from box? I've been dabbling trying to get this working with no success. I have my own
specs
folder with a couple files, and my own
runner.cfm
which includes
/dependencies/testbox/system/runners/HTMLRunner.cfm
. The problem is that
HTMLRunner.cfm
can't resolve
testbox.system.TestBox
because the file as a whole is being included inside my own folder. If I'm not mistaken, it would need to instead be referencing
dependencies.testbox.system.TestBox
. Is there a standard way to do this that I'm missing? Or perhaps a CFML trick to get the dependency to resolve relative to the cfincluded file? Thanks!
b
Sounds like you just need to create a
/testbox
CF mapping in your test harness that points to wherever you have TestBox installed.
j
Ohh right, forgot that's what mappings are for. Good call!