It wasn’t too hard to get a ScalaTest going that makes a database connection using Squeryl (a Scala ORM). I was able to do a select statement against a postgres database and get some data out.

This select statement above assumes the sql below is in the running database. This allows the test to print “jason” if all is running correctly.

All the code can be found on github here