Made with by giki
Third-party-Extensions
On this page, the JUnit community collects a list of third-party test engines and extensions.
Feel free to add your own!
JUnit Platform Test Engines
Engine authors may also add a minimal working example to the junit5-multiple-engines project.
JUnit Platform Build Support
- Android JUnit 5: Unit Testing with JUnit 5 for Android
- Junit-Reporter: HTML report plugin for Gradle or CLI.
JUnit Jupiter Extensions
- AEM JUnit Jupiter: JUnit Jupiter extension for Adobe Experience Manager that allows one to inject
AemContextparameters in test methods and ensures that the context is set up and torn down properly. - AWS JUnit Jupiter: JUnit Jupiter extensions that allow to inject AWS SDK clients in test classes.
- BDD JUnit Jupiter: JUnit Jupiter extension to create and run stories and behaviors a.k.a BDD specification tests.
- CDI Test: Testing CDI Beans with JUnit Jupiter.
- Citrus Framework: Enable Citrus related dependency injection and parameter resolving
- Database Rider: Adds support for DbUnit in JUnit Jupiter tests
- DbSetup annotations: JUnit Jupiter extension for DbSetup
- Docker: start docker containers before running tests and stop them afterwards
- docker-junit-extension: allow start / stop docker containers before / after a test or reusing them between test executions; support mount resources inside docker containers; allow to run commands inside containers and / or to run containers from inside tests (requires JDK 8+).
- GreenMail: JUnit Jupiter support for GreenMail
- InlineGherkin: JUnit Jupiter extension to write gherkin like specification tests in JUnit test methods.
- Jersey JUnit for testing JAX-RS and Jersey-based applications using the Jersey test framework
- jFairy: Extension for JUnit which provides injection of random data
- JGiven: Behavior-Driven Development in plain Java
- JPA Unit: Enables easy testing of JPA entities with an arbitrary JPA provider
- JUnit Extensions: JUnit Jupiter equivalents of some of the common JUnit 4 rules:
ExpectedException,TemporaryFolder, etc. - junit-json-params: Use JSON as a source in parameterized tests system for performance-testing.
- JUnit Pioneer: JUnit Jupiter extension pack, pushing the frontiers on Jupiter.
- Jupiter Parallel Load Extension - Declarative way to run the Jupiter tests in parallel. This is particularly useful to generate load/stress on the target
- Kafka JUnit: For testing with a Kafka broker
- Kafka JUnit: Another library for testing with a Kafka broker
- LogUnit: A Java library for unit-testing logging.
- minutest: A Spek-like Kotlin library that separates tests from fixtures and allows both to be defined and manipulated as data.
- MockitoExtension: Extension that initializes mocks and handles strict stubbings. This extension is the JUnit Jupiter equivalent of Mockito’s
MockitoJUnitRunnerfor JUnit 4.- Available in the
mockito-junit-jupiterartifact.
- Available in the
- mockito-rest-spring Mocking external services defined using Swagger/OpenAPI
- MockKExtension: JUnit Jupiter extension for the Mock K mocking library for Kotlin
- Pact extension: JUnit Jupiter extension for consumer driven contract testing using Pact
- Rerunner-Jupiter: Re-run failed JUnit-Jupiter tests immediately
- rest-assured-extension: use REST-assured in JUnit 5 test cases with simple configuration to test your server APIs
- S3Mock: JUnit Jupiter Extension for running Adobes S3Mock from Unit Tests.
- Samebug: JUnit Jupiter extension for Samebug
- SBT Jupiter Interface: Implementation of SBT’s test interface for JUnit Jupiter
- selenium-jupiter: Extension for Selenium
WebDriver(also compatible with Appium) SpringExtensionfor JUnit Jupiter support in the Spring Framework- Official SpringExtension in Spring Framework 5.x
- Unofficial SpringExtension for use with Spring Framework 4.3.x
- System.exit(): Test code that calls
System.exit() - Togglz: Feature Flags for the Java platform
- Unroll Extension for Kotlin: provide Spock-like
whereand@Unrollsupport for Kotlin - upREST: Verify your REST services
- Wiremock: Inject ready-to-use wiremock server in test methods
- wiremock-extension: use WireMock in JUnit 5 by annotating test classes and fields (also supports mocking multiple servers and custom configuration)
- XWiki Component Mocking: JUnit Jupiter extension to automatically inject mock components for @Inject fields, and more. See also the source code.
- Capture System.out and System.err: Capture System.out and System.err outputs in tests.