Skip to content

jperezdelafuente/testing-java-junit5

Repository files navigation

CircleCI

Introduction to JUnit 5 with Maven and Gradle

All source code examples in the repository are for Online Course - Testing Spring Beginner to Guru from John Thompson This source code repository contains JUnit 5 test examples with Maven and Gradle.

Setup

Requirements

  • Should use Java 11 or higher. Previous versions of Java are un-tested.
  • Use Maven 3.5.2
    • mvnw clean test (for unitary test)
    • mvnw clean verify (for unitary and integration test)
  • Use Gradle 4.10.2 or higher
    • gradlew clean test (for unitary and integration test)