...
- All kernel services must include programmatic unit testing and/or integration testing.
- Tests should ideally be reviewed by at least one other developer
- Services should ideally include stubs which are accurate representations of how the service would operate.
- Stubs should use test data which is returned by the stub and located in a separate static class
- Stubs should be located in the "sakai-mocks" project
Static utils
- Utils should not use anything that is not also static.
- Utils should strive to have no dependencies if possible.
- Naming convention for utils? Location for all utils?
Other Best Practices
- The kernel team should follow and encourage other Sakai best practices as well
- The list of best practices includes those listed in this proposal, and the ones at these links
...