Use giter8 to build a basic project structure https://github.com/n8han/giter8

#Install giter8 on OSX
brew install giter8

Giter8 provides templates to kickstart the projects. The list of templates can be found on their github page

https://github.com/n8han/giter8/wiki/giter8-templates

#Applying a simple template to kickstart 
g8 chrislewis/basic-project

Provide the basic information that it asks in the prompt Go to the project directory and check out the build.sbt to verify the content and modify if required.

# compile 
sbt compile

# run 
sbt run

Testing with scala test

# run all the test
sbt test

# run all the test
sbt test-only org.acme.RedSuite org.acme.BlueSuite

# run a test with pattern
sbt test-only test-only *RedSuite

Reference