Date: 2005-01-31T17:11:51 Editor: ZacharySmith Wiki: Apache Beehive Wiki Page: Controls/TestingControls URL: http://wiki.apache.org/beehive/Controls/TestingControls
no comment Change Log: ------------------------------------------------------------------------------ @@ -14,11 +14,26 @@ Here are a few tips to help your run Beehive Controls tests. This doc. assumes that you have your Beehive invironment setup correcty. - * ''ant checkin.tests'' will run Controls ''checkin'' tests (See above) - * ''ant detailed.tests'' will run Controls ''detailed'' tests + * To run test suites try the following: + * `ant checkin.tests` will run Controls ''checkin'' tests (See above) + * `ant detailed.tests` will run Controls ''detailed'' tests + +If you do not use ''checkin.tests'' or ''detailed.tests'' targets which start tomcat, deploy webapps, and stop tomcat, you'll need to do it yourself. + * To stop/start/deploy apps to Tomcat use the following from ''controls/test'' + * `ant tomcat.start` + * `ant tomcat.stop` + +To deploy and undeploy webapps use the ''ensure.deployed'' target in ''controls/test/webapps'' + * `ant ensure.deployed` + * `ant undeploy` + +To run a more specific set of tests try the following: + * `ant run -Dtch.test-names="*.*JUnitClassName.testMethod*"` + * `ant run -Dtch.test-names="org.apache.beehive.controls.test.jpf.instantiate.TestInstantiate.testDeclarativeInstantiation"` == Tools == +Beehive Controls tests make use of a number of custom tools. [wiki:/Mantis Mantis][[BR]] [wiki:/Milton Milton][[BR]] - +[wiki:/TCH TCH][[BR]]
