Hi,
Is there any concerns about the test performance when we use scaladi-play in test? currently I just refactored the project and I found that the test time is significantly longer than before(double the time roughtly). In the tests, I use running(new TestServer)/running(new FakeApplication) a lot which means that the system will launch play server a lot. Seems like it takes large trunks of time to initialise the system while some expensive initialisation may happen such as inmemory database/ mock rabbitmq etc.
any ideas or solutions may help?
Thanks,
Yanyang
Here is the data:
[info] Passed: Total 337, Failed 0, Errors 0, Passed 337
[success] Total time: 231 s
Hi,
Is there any concerns about the test performance when we use scaladi-play in test? currently I just refactored the project and I found that the test time is significantly longer than before(double the time roughtly). In the tests, I use running(new TestServer)/running(new FakeApplication) a lot which means that the system will launch play server a lot. Seems like it takes large trunks of time to initialise the system while some expensive initialisation may happen such as inmemory database/ mock rabbitmq etc.
any ideas or solutions may help?
Thanks,
Yanyang
Here is the data:
[info] Passed: Total 337, Failed 0, Errors 0, Passed 337
[success] Total time: 231 s