Quantcast
Channel: How to unit test netty handler - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Ferrybig for How to unit test netty handler

In Netty, there are different ways to test your networking stack. Testing ChannelHandlers You can use Netty's EmbeddedChannel to mock a netty connection for testing, an example of this would be: @Test...

View Article



How to unit test netty handler

I implement a handler which extends SimpleChannelHandler, and overrides some methods such as channelConnected, messageReceived. However, I am wondering how to unit test it? I searched about "netty...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images