Forum OpenACS Q&A: Re: Seeking Information On Care And Feeding Of acs-automated-testing

Randy,
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.
Thank you, Peter. Don't hesitate to state the obvious. I have done exactly as you describe and have a simple test case defined and running. Now, it's a matter of working through several examples to become familiar with the automated testing API.

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.

Randy