Forum OpenACS Development: Re: Automated Install, Configuration, and Test

Collapse
Posted by Dave McBride on
The tester package is fully operational now. The problem must have been in the test file I wrote for https.

I call tclwebtest externally, which is probably good in that the package uses tclwebtest without any alterations. I put the https part (tls1.4) for tclwebtest into the tclwebtest-0.3/lib directory.

The best thing to do is try tclwebtest from the command line with the test of choice first. If the test file can run, it should run from inside the tester package. I did notice any sourced files could not be found, so the test file has have all the source you will use to run the test. I did not use the full path when I sourced include files though.

I have to create a package parameter for the tclwebtest path before I finish the package development. And I have to port it to Postgresql, write those xql files and the such.

The test files are put in [acs_root_dir]/www/test_files so the package can be host node ready.  I created an examples directory for a few test files that worked for me.

Anyone who wants it, let me know.

Dave (mailto:dave@crimsoncode.com)