Month: September 2016

Loading test data with ScalaTest + Play

comment 1
Dev

The ScalaTest + Play library provides a couple of useful traits for when your ScalaTest Play Framework functional tests need a running application for context. The OneAppPerSuite trait will share the same Application instance across all tests in a class whereas the OneAppPerTest trait gives each test its own Application instance. These traits will ensure you have a running application for your tests but if you want to test code that operates on a database […]