Forum OpenACS Development: Encouraging automated test writers

Collapse
Posted by Dave Bauer on
I added an upgrade script, and added define_function_args calls for the content-keyword APIs today.

I needed to test these before committing. I decided to write automated tests for this. It takes the same amount of time to write the automated test code as it does to manually test something.

Of course, I usually make a typo or other mistake in writing the test code. That is where the APM "watch this file" and the one-click "re-run test case" features come in very handy.

I would encourage any developers checking in bug fixes or new features to investigate the automated testing facilities in OpenACS. There are a large number of example test cases as well as documentation available. https://openacs.org/doc/current/tutorial-debug.html

In addition, there is always the irc channel for real-time support. https://openacs.org/irc/