Fixtures in Play! 2 for Scala

前端 未结 2 880
梦毁少年i
梦毁少年i 2021-02-06 08:25

I am trying to do some integration testing in a Play! 2 for Scala application. For this, I need to load some fixtures to have the DB in a known state before each test.

A

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-06 09:07

    Why not use the java example in Scala? That exact code should also work without modifications in Scala...

提交回复
热议问题