Search:

Type: Posts; User: kjohann

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    16,463

    Yes, those restrictions are acceptable. As long...

    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...
  2. Replies
    8
    Views
    16,463

    I don't think making a client inside the adapter...

    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...
  3. Replies
    8
    Views
    16,463

    The ultimate scenario would be if I could write...

    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...
  4. Replies
    8
    Views
    16,463

    Yes - that is exactly what I am asking. I know...

    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...
  5. Replies
    8
    Views
    16,463

    Integration testing

    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...
Results 1 to 5 of 5
All times are GMT +1. The time now is 09:04 AM.