Loading Fixtures for FunctionalTest in Play Framework

There are three possible gotchas with FunctionalTest on Play Framework 1.2.4:

  1. Ensure your db is configured for READ_UNCOMMITED transactions. See the release notes for more...
  2. Make certain that you import junit's @Before and **NOT** play.mvc.Before
  3. Load your Fixtures in a Job. See the example below.

 

Loading ....