Skip to content
Guillaume Bort edited this page Jan 31, 2012 · 1 revision

Contributor Guidelines

Implementation-wise, the following things should be avoided as much as possible:

  • public mutable state
  • global state
  • implicit conversions
  • threadLocal
  • locks
  • casting

Also, be careful with introducing new, heavy external dependencies.

source format

  • run scalariform-format before commit

git commits

  • prefer rebase
  • bigger changesets

API design

Testing and documentation

  • each and every public facing method and class need to have a corresponding scaladoc or javadoc with examples, description etc.
  • each feature requires either a functional test (framework/integrationtest) or a spec (/play/src/test)
  • run Play's integration test suite framework/runtests before pushing. If a test fails, fix it, do not ignore it.

Clone this wiki locally