I would like to introduce the following new file structure for acs-automated-testing tests:
package_key/tcl/test/package_key-test-procs.tcl
package_key/tcl/test/package_key-test-init.tcl
(the test word in the filenames is optional)
, where the -procs.tcl file(s) *only* contain ad_proc statements (these are support procs for the actual test code in the -init.tcl files), are of type test_procs and can be watched with the APM.
The -init.tcl file(s) are of type test_init, contain aa_register_case statements and friends, are sourced on server startup, cannot be watched through the APM, but can be re-sourced through the acs-automated-testing UI to avoid having to restart the server when test case code has changed and you want to re-run the tests.
How does this sound? Affected packages are acs-automated-testing, acs-lang, acs-tcl, logger, workflow, acs-datetime, and news.