Testing Helma with jala.Test
As of 12/12/2007, there is a helma test app in the subversion repository. It contains a pretty complete test set for Helma skins, and a pretty rough/incomplete test set for helma.Http.js.
List of areas that should be covered by tests:- Request / Response cycle
- accessing HTTP header informations
- different HTTP methods
- write out response (different contentTypes; write out binaries)
- Loading of Repositories
- DB Mapping
- simple mapping
- object reference
- collections
- caching of collections
- mountpoints
- inheritance
- grouping
- _accessname
- ... -> http://helma.org/docs/guide/mapping/
- Skins
- deep macro invocations
- custom macro handlers
- subskins
- res.skinpath
- nested macros
- ... -> http://helma.org/docs/guide/framework/
- Session & User Management
- Scheduler / Cronjobs
- Global Methods: http://helma.zumbrunn.net/reference/core/
- Request Path Resolution
Please feel free to extend/enhance this list. And strike through any items, that are already covered by tests.