Quantcast
Channel: How to unit test netty handler - Stack Overflow
Browsing latest articles
Browse All 2 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 latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>