How to apply play-evolutions when running tests in play-framework?
问题 I have problems with evolutions when running tests in play framework using playframework v2.6.6 for scala play-slick v3.0.2 play-slick-evolutions v3.0.2 The test looks like this: class TestFooController extends PlaySpec with GuiceOneServerPerSuite { "foo endpoint should store some data" in { val wsClient = app.injector.instanceOf[WSClient] val url = s"http://localhost:$port/foo" val requestData = Json.obj("foo" -> "bar") val response = await(wsClient.url(url).post(requestData)) response