You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be difficult to make functional tests for the ClientHandler and Server since their functionality is tied to connecting clients and sending questions and receiving responses through the network.
Yes, I agree 😅! Martin mentioned that it is possible to mock a socket byte stream as an argument for ClientHandler's constructor and test its run method when I was working on issue #11 so I want to give it a try.
Yes, I agree 😅! Martin mentioned that it is possible to mock a socket byte stream as an argument for ClientHandler's constructor and test its run method when I was working on issue #11 so I want to give it a try.
Go for it! You might also be able to use my Client stub class found in the test folder, together with what I did in @BeforeAll in my ServerTest
ClientHandler currently has a code coverage of 0% in the existing tests.
The text was updated successfully, but these errors were encountered: