Protected
Protected

Developer Guidelines


Code Style


The Akka code style follows this document .

Here is a code style settings file for IntelliJ IDEA.
 akka-intellij-code-style.jar

Please follow the code style. Look at the code around you and mimic.

Logging


Logging is done with Configgy and the log statements are written with 'printf' style:
log.info("Started up service %s", service)
Exceptions are always logged:
log.error(exception, "Service failed due to: %s", exception.toString)

Testing


All testing is done with ScalaTest and ScalaCheck. You can use whatever 'Spec' trait that makes you happy.

  1. Name tests as *Test.scala if they do not depend on any external stuff. That keeps surefire happy.
  2. Name tests as *Spec.scala if they have external dependencies.

All code that is checked in should have tests.
Home
close
Loading...
Home Turn Off "Getting Started"
close
Loading...