A nice trick I’ve learned from Ignasi (@ignasi35) one of the BCN Dev Scala Meetup group (http://www.meetup.com/Scala-Developers-Barcelona/)
This is a shortcut to execute the tests while editing the exercises for the Functional Programming course on Coursera.
You can open SBT in your project folder and run the command test. This will compile and run the unit tests defined in the project.
If you run ~test it will run the tests and then it will keep waiting until a file is modified. Once you modify a file, tests will be executed again, and it will keep waiting again, and so on…
Little nice trick 🙂