Forum OpenACS Q&A: Seeking Information On Care And Feeding Of acs-automated-testing
this may be an obvious thing to say, but grepping for aa_register_case in code in the package_key/tcl/test directories will teach you quite a bit about how to use acs-automated-testing. Setup consists of installing the acs-automated-testing package and mounting it. You register a test case by putting an aa_register_case statement in a -procs.tcl (or -init.tcl file) in the tcl/test directory of your package. If you have more specific questions I'll try to answer them.
I take it that -init.tcl and -procs.tcl are handled the same as the same named files in the tcl/ directory? Where -init.tcl files are executed on startup and -procs.tcl files are simply loaded as libraries.
you are correct. I started by following the convention of putting the tests in -init.tcl files, but Lars pointed out that keeping them in -procs.tcl files instead has the benefit of being able to watch the files (from the APM) and thus have the tests reloaded everytime you change them. The -init.tcl files should contain code to be executed only on server startup as you say.