{"action":"created","issue":{"url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/21","labels_url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/21/comments","events_url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/21/events","html_url":"https://github.com/scalatest/scalatestplus-play/issues/21","id":91246958,"number":21,"title":"Support using custom ApplicationLoader in addition to FakeApplication","user":{"login":"rmmeans","id":3507512,"avatar_url":"https://avatars.githubusercontent.com/u/3507512?v=3","gravatar_id":"","url":"https://api.github.com/users/rmmeans","html_url":"https://github.com/rmmeans","followers_url":"https://api.github.com/users/rmmeans/followers","following_url":"https://api.github.com/users/rmmeans/following{/other_user}","gists_url":"https://api.github.com/users/rmmeans/gists{/gist_id}","starred_url":"https://api.github.com/users/rmmeans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmmeans/subscriptions","organizations_url":"https://api.github.com/users/rmmeans/orgs","repos_url":"https://api.github.com/users/rmmeans/repos","events_url":"https://api.github.com/users/rmmeans/events{/privacy}","received_events_url":"https://api.github.com/users/rmmeans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-26T13:14:02Z","updated_at":"2015-09-09T12:47:29Z","closed_at":"2015-07-20T21:24:08Z","body":"With Play 2.4 it seems to me that it will be more common to use a custom application loader now to define your dependencies for your tests, etc than it will be to use a FakeApplication type.\r\n\r\nThe specs2 support built-in in play provides this via this helper:\r\nhttps://github.com/playframework/playframework/blob/master/framework/src/play-specs2/src/main/scala/play/api/test/Specs.scala#L25-L30\r\n\r\nThis becomes very handy when trying to use compile time DI with play 2.4 This sample product using specs2 shows how nice this can be: https://github.com/loicdescotte/play24SimpleDI\r\n\r\nI would love to be able to do the same in using ScalaTest as we move our project DI to compile time. \r\n\r\nPerhaps this is already possible on the milestone and I'm just missing it? I'd like to be able to use a custom ApplicationLoader on something like OneAppPerSuite for example."},"comment":{"url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/comments/138898255","html_url":"https://github.com/scalatest/scalatestplus-play/issues/21#issuecomment-138898255","issue_url":"https://api.github.com/repos/scalatest/scalatestplus-play/issues/21","id":138898255,"user":{"login":"cjwebb","id":325160,"avatar_url":"https://avatars.githubusercontent.com/u/325160?v=3","gravatar_id":"","url":"https://api.github.com/users/cjwebb","html_url":"https://github.com/cjwebb","followers_url":"https://api.github.com/users/cjwebb/followers","following_url":"https://api.github.com/users/cjwebb/following{/other_user}","gists_url":"https://api.github.com/users/cjwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/cjwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjwebb/subscriptions","organizations_url":"https://api.github.com/users/cjwebb/orgs","repos_url":"https://api.github.com/users/cjwebb/repos","events_url":"https://api.github.com/users/cjwebb/events{/privacy}","received_events_url":"https://api.github.com/users/cjwebb/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T12:47:29Z","updated_at":"2015-09-09T12:47:29Z","body":"I can confirm that it is working with 1.4.0-M4"}}