My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 83: Add runsuiteremote to TestSuite
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  virtix
Closed:  Jan 2009
Cc:  marc.es...@gmail.com


 
Project Member Reported by virtix, Mar 9, 2008
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
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting