Skip to content
catena edited this page May 18, 2016 · 5 revisions

Running Tests

Run sbt test to run tests. Read more about testing with sbt at http://www.scala-sbt.org/0.13/docs/Testing.html. Tests are automatically started by our [http://23.94.190.226:8080/job/scorex/](continious integration server) when a change is pushed to GitHub.

Code coverage

TODO

Writing Tests

Scorex uses https://github.com/rickynils/scalacheck/blob/master/doc/UserGuide.md framework to write tests. There are generators for a lot of common Scorex classes, use them or write your own. All tests should be added to appropriate Suite to run with sbt test command.

Clone this wiki locally