Forum OpenACS Development: acs-automated-testing init_classess deprecated?

Does any know why init classes are deprecated in acs-automated-testing?

It looks like a useful feature.

On a side note, I am planning on adding a new package_key-less init class feature so we can have an init_class for selenium tests to setup the selenium remote control server and clean up after the tests. It makes sense to only do this once per test run instead of setting up and tearing down for every test. So it needs to use the same init class across all package keys.

I don't think anyone has touched this package in awhile so I guess I am adopting it.

Collapse
Posted by Dave Bauer on
If there is another, "better" way to accomplish running a code block once per test run besides init_classes, I could not find it. If anyone knows if such a thing exists, I am ready to learn!
Collapse
Posted by Dave Bauer on
I found a simpler solution.

Its the classic OpenACS style of a parameter list that can accept 1) a list of single parameters or 2) mixed single and list parameters.

So you can specify an init class such as {selenium acs-automated-testing} to specify which package the required init class belongs to.