Yes, those restrictions are acceptable. As long as I can start and stop the server in my tests, I think that I will be able to write the testcases that I want. Either by the use of fake adapters or...
Type: Posts; User: kjohann
Yes, those restrictions are acceptable. As long as I can start and stop the server in my tests, I think that I will be able to write the testcases that I want. Either by the use of fake adapters or...
I don't think making a client inside the adapter would solve my problem. That would mean that the class I'm testing is different from the actual class. However, I have though about two possible...
The ultimate scenario would be if I could write something like:
@Test
public void testSomeServerFunc() {
startServer();
call dataAdapter.subscribe(*some data*)
//Have some way of listening...
Yes - that is exactly what I am asking. I know that Play is based on a request/reply model, but from what I have understood, it is also possible to use the "fakeapplication" to test WebSocket...
Hi
I wonder if there is a way to do integration tests with the lighstreamer server by creating a "fake server". Play Framework offers a "fakeapplication" out of the box (see...