Unit Testing

example-junit-spring-systemtest

com.fitbur.testify.examples : example-junit-spring-systemtest

An opinionated Java Testing Framework faithful to testing principles and best practices.

Last Version: 0.1.3

Release Date:

scenarlang-ut-dsl-junit

net.sourceforge.scenarlang : UT_DSL_JUNIT

This is the module you want to import if you plan to use scenarlang : it provides the junit rule.

Last Version: 1.1.9

Release Date:

TomEE :: Container :: JUnit 5

org.apache.tomee : openejb-junit5

Apache OpenEJB is an open source, modular, configurable and extensible EJB Container System and EJB Server.

Last Version: 8.0.12

Release Date:

Last Version: 0.1

Release Date:

JUnited :: Jersey

com.crosstreelabs : junited.jersey

A feature for configuring and running Jersey during testing.

Last Version: 0.1.0

Release Date:

junit-extension

io.zeebe.bpmn-spec : junit-extension

A tool to write tests for BPMN processes

Last Version: 2.0.0

Release Date:

appiumdriver-framework-junit4

com.browserstack : appiumdriver-framework-junit4

Appium Driver management framework for JUnit4.

Last Version: 0.0.1

Release Date:

Last Version: 3.2.2.0

Release Date:

example-junit-spring-integrationtest-need

com.fitbur.testify.examples : example-junit-spring-integrationtest-need

An opinionated Java Testing Framework faithful to testing principles and best practices.

Last Version: 0.1.2

Release Date:

Last Version: 1.1.6

Release Date:

TestNG Engine for the JUnit Platform

org.junit.support : testng-engine

Allows executing TestNG tests on the JUnit Platform

Last Version: 1.0.2

Release Date:

seauto.junit.sample-archetype

com.partnet.sample : seauto.junit.sample-archetype

Sample project for SeAuto: a bridge to Selenium from your favorite test framework.

Last Version: 0.9.1

Release Date:

embedded-toxiproxy-junit4

io.github.coffee-break : embedded-toxiproxy-junit4

Toxiproxy embedded server and client for Java integration testing

Last Version: 0.2.0

Release Date:

Guice JPA JUnit Runner

net.lamberto.junit.jpa : guice-jpa-junit-runner

A JUnit Runner allowing Guice-based testing with JPA Hibernate4-based. Each test method is running with a clean Injector instance.

Last Version: 1.0.1

Release Date:

pact-jvm-provider-junit5-spring

au.com.dius : pact-jvm-provider-junit5-spring

# Pact Spring/JUnit5 Support This module extends the base [Pact JUnit5 module](../pact-jvm-provider-junit5). See that for more details. For writing Spring Pact verification tests with JUnit 5, there is an JUnit 5 Invocation Context Provider that you can use with the `@TestTemplate` annotation. This will generate a test for each interaction found for the pact files for the provider. To use it, add the `@Provider` and `@ExtendWith(SpringExtension.class)` and one of the pact source annotations to your test class (as per a JUnit 5 test), then add a method annotated with `@TestTemplate` and `@ExtendWith(PactVerificationSpringProvider.class)` that takes a `PactVerificationContext` parameter. You will need to call `verifyInteraction()` on the context parameter in your test template method. For example: ```java @ExtendWith(SpringExtension.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) @Provider("Animal Profile Service") @PactBroker public class ContractVerificationTest { @TestTemplate @ExtendWith(PactVerificationSpringProvider.class) void pactVerificationTestTemplate(PactVerificationContext context) { context.verifyInteraction(); } } ``` You will now be able to setup all the required properties using the Spring context, e.g. creating an application YAML file in the test resources: ```yaml pactbroker: host: your.broker.host auth: username: broker-user password: broker.password ``` You can also run pact tests against `MockMvc` without need to spin up the whole application context which takes time and often requires more additional setup (e.g. database). In order to run lightweight tests just use `@WebMvcTest` from Spring and `MockMvcTestTarget` as a test target before each test. For example: ```java @WebMvcTest @Provider("myAwesomeService") @PactBroker class ContractVerificationTest { @Autowired private MockMvc mockMvc; @TestTemplate @ExtendWith(PactVerificationInvocationContextProvider.class) void pactVerificationTestTemplate(PactVerificationContext context) { context.verifyInteraction(); } @BeforeEach void before(PactVerificationContext context) { context.setTarget(new MockMvcTestTarget(mockMvc)); } } ``` You can also use `MockMvcTestTarget` for tests without spring context by providing the controllers manually. For example: ```java @Provider("myAwesomeService") @PactFolder("pacts") class MockMvcTestTargetStandaloneMockMvcTestJava { @TestTemplate @ExtendWith(PactVerificationInvocationContextProvider.class) void pactVerificationTestTemplate(PactVerificationContext context) { context.verifyInteraction(); } @BeforeEach void before(PactVerificationContext context) { MockMvcTestTarget testTarget = new MockMvcTestTarget(); testTarget.setControllers(new DataResource()); context.setTarget(testTarget); } @RestController static class DataResource { @GetMapping("/data") @ResponseStatus(HttpStatus.NO_CONTENT) void getData(@RequestParam("ticketId") String ticketId) { } } } ``` **Important:** Since `@WebMvcTest` starts only Spring MVC components you can't use `PactVerificationSpringProvider` and need to fallback to `PactVerificationInvocationContextProvider`

Last Version: 4.0.10

Release Date:

Last Version: 1.1.0

Release Date:

JUnit JFR

com.github.marschall : junit-jfr

A JUnit extension that generates JFR events.

Last Version: 0.1.0

Release Date:

Armeria (armeria-testing-junit4)

com.linecorp.armeria : armeria-testing-junit4

Asynchronous HTTP/2 RPC/REST client/server library built on top of Java 8, Netty, Thrift and gRPC (armeria-testing-junit4)

Last Version: 0.99.7

Release Date:

Last Version: 0.1.0

Release Date:

Che Plugin :: Java Testing :: JUnit Parent

org.eclipse.che.plugin : che-plugin-testing-junit

Provides version of third parties artifacts to use in Codenvy platform projects

Last Version: 7.0.0-rc-3.0

Release Date:

Helenus JUnit

org.helenus : helenus-junit

JPA-like syntax for annotating POJO classes for persistence via Cassandra's Java driver - JUnit Framework

Last Version: 3.0.4

Release Date:

Webapp-Rule

com.unseenspace.junit : webapp-rule

Junit Rules for web app integration testing

Last Version: 0.1.1

Release Date:

nats-server-junit

berlin.yuna : nats-server-junit

Nats server embedded for testing which contains the original Nats server

Last Version: 0.0.43

Release Date:

Last Version: 4.0.2

Release Date:

TomEE :: Container :: JUnit 5 :: Backward Compatibility

org.apache.tomee : openejb-junit5-backward

Apache OpenEJB is an open source, modular, configurable and extensible EJB Container System and EJB Server.

Last Version: 8.0.12

Release Date:

cucumber-java-junit-archetype

me.alb-i986 : cucumber-java-junit-archetype

Maven Archetype for creating cucumber projects, featuring Java and JUnit

Last Version: 1.2.2

Release Date:

Last Version: 1.1.0

Release Date:

archetype-junit-springboot-systemtest

com.fitbur.testify.archetype : archetype-junit-springboot-systemtest

Creates a new quickstart project to system test Spring Boot application with Testify, JUnit, Mockito, and AssertJ.

Last Version: 0.1.3

Release Date:

Knot.x JUnit 5

io.knotx : knotx-junit5

Testing Knot.x with JUnit 5

Last Version: 2.3.1

Release Date:

Last Version: 1.0.0-M1

Release Date:

Eclipse JUnit Fragment for Ant used in Eclipse Test Framework

org.eclipse.platform : org.eclipse.ant.optional.junit

Eclipse JUnit Fragment for Ant used in Eclipse Test Framework This fragment is required by the Eclipse Test Framework. It allows communication between JUnit and Ant.

Last Version: 3.3.300

Release Date:

Last Version: 1.0.2

Release Date:

Gradle Android Jacoco Plugin

com.vanniktech : gradle-android-junit-jacoco-plugin

Gradle plugin that generates Jacoco reports from an Android Gradle Project.

Last Version: 0.16.0

Release Date:

Last Version: 3.2.0

Release Date:

com.marklogic:marklogic-junit5

com.marklogic : marklogic-junit5

Supports testing MarkLogic applications

Last Version: 1.2.0

Release Date:

Example JUnit4 HK2 Integration Test

org.testifyproject.examples : example-junit-hk2-integrationtest

Creates a new quickstart project to integration test HK2 modules and services with Testify, JUnit4, Mockito, and AssertJ.

Last Version: 1.0.0

Release Date:

Last Version: 4.3.2

Release Date:

wunderbar.junit

com.github.t1 : wunderbar.junit

Code-first, low ceremony Consumer Driven Contracts test tool for Java natives.

Last Version: 2.4.7

Release Date:

Last Version: 0.0.1

Release Date:

tourniquet-pageobjects

io.tourniquet.junit : tourniquet-pageobjects

A small library to define a pageobject model for testing applications with selenium.

Last Version: 0.4.8

Release Date:

Parallel JUnit performance test

com.github.zington : ParallelJUnit

This makes it possible to easy run your regular unit tests as performance tests.

Last Version: 2.0.0

Release Date: