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 sbt documentation. Tests are automatically started by our continious integration server when a change is pushed to GitHub.

Code coverage

To build coverage report run sbt clean coverage test and build report for subproject you want like sbt "project basics" "coverageReport".

TODO link to coverage

Writing Tests

Scorex uses ScalaCheck 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