Skip to content

Instantly share code, notes, and snippets.

@seancoyne
Last active October 23, 2015 18:28
Show Gist options
  • Save seancoyne/6f055c568220010cd4f4 to your computer and use it in GitHub Desktop.
Save seancoyne/6f055c568220010cd4f4 to your computer and use it in GitHub Desktop.
example setup for testbox-runner
component {
this.name = "myapp_api_test";
this.mappings = {
"/testbox" = expandPath("/myapp/testbox"),
"/model" = expandPath("/myapp/api/model"),
"/tests" = expandPath("/myapp/api/tests"),
'/api' = expandPath('/myapp/api')
};
}
<cfparam name="url.directory" default="/myapp/api/tests/spec">
<cfparam name="url.recurse" default="true">
<cflock name="myapp_api_tests" throwontimeout="true" timeout="10">
<cfinclude template="/testbox/system/runners/HTMLRunner.cfm">
</cflock>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment