Skip to content

nettyplus/netty-leak-detector-junit-extension

Repository files navigation

netty-leak-detector-junit-extension Maven Central

About this library

This JUnit 5 extension detects resource leaks by registering a Netty LeakListener

Example: Java unit test

import io.github.nettyplus.leakdetector.junit.NettyLeakDetectorExtension;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(NettyLeakDetectorExtension.class)
class FooTest {
  @Test
  void testSomething() {
    // ...
  }
}

Example: Maven pom.xml

<dependency>
    <groupId>io.github.nettyplus</groupId>
    <artifactId>netty-leak-detector-junit-extension</artifactId>
    <version>0.2.0</version>
    <scope>test</scope>
</dependency>

Projects that use this library

Presentations

This library was discussed in the following presentations:

About

Netty leak detection ⭐️

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages