Loading test data with ScalaTest + Play
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-60751cbac5867406118394-i/] trait will share the same [crayon-60751cbac586e805152304-i/] instance across all tests in a class whereas the [crayon-60751cbac586f076711989-i/] trait gives each test its own [crayon-60751cbac5871200890532-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 […]