| Issue 83: | Add runsuiteremote to TestSuite | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Like TestCase, add runsuiteremote and/or runtestremote to TestSuite so that test suites in web root can be run via url. E.g., http://localhost/mytests/mytestsuite.cfc?method=runsuiteremote runtestsuite will need to call the public method init or whatever is annotated in the TestSuite as in mxunit:annotate="@suitebuilder" Have to know which method to call to build the suite before it's run. ... <cfcomponent extends="mxunit.framework.TestSuite"> <cffunction name="build" hint="build my suite" mxunit:annotate="@suitebuilder"> <cfscript> this.add("path.to.mytests"); this.add("/usr/billy/tests/"); this.add("path.to.some.testsuite"); </cfscript> </cffunction> </cfcomponent>
Jan 22, 2009
Project Member
#1
virtix
Status:
Fixed
|