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 [crayon-60076dafc8230104978987-i/] trait will share the same [crayon-60076dafc8237960212124-i/] instance across all tests in a class whereas the [crayon-60076dafc8238952978821-i/] trait gives each test its own [crayon-60076dafc8239614637511-i/] 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 […]