Answers for "How to run a functional test in play framework"

0

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"));
Posted by: Guest on October-07-2020

Browse Popular Code Answers by Language