How to run a functional test in play framework
FakeApplication fakeApp = Helpers.fakeApplication();
FakeApplication fakeAppWithGlobal = fakeApplication(new GlobalSettings() {
@Override
public void onStart(Application app) {
System.out.println("Starting FakeApplication");
}
});
FakeApplication fakeAppWithMemoryDb = fakeApplication(inMemoryDatabase("test"));