Hi,
I'm writing a client/server application using C#.
The server accepts connecitons asynchronously, using BeginAccept/EndAccept.
Is there any way we can write some unit tests(NUnit) to test the behaviour
of
accepting connections and testing some other private methods that would be
called when the server receives a connection request.
How I can use NMock objects in this scenario. Kindly let me know.
Cheers,
Naveen.
I'm writing a client/server application using C#.
The server accepts connecitons asynchronously, using BeginAccept/EndAccept.
Is there any way we can write some unit tests(NUnit) to test the behaviour
of
accepting connections and testing some other private methods that would be
called when the server receives a connection request.
How I can use NMock objects in this scenario. Kindly let me know.
Cheers,
Naveen.
Comment