No description, website, or topics provided.
Java Shell Batchfile
Switch branches/tags
Nothing to show
Clone or download
Latest commit a80b2c7 May 30, 2017
Permalink
Failed to load latest commit information.
.mvn/wrapper Add Maven wrapper Jan 11, 2017
gradle/wrapper Add Gradle wrapper Jan 11, 2017
slides Update to M4 May 30, 2017
src Update to M4 May 30, 2017
.gitignore Add .gitignore for Maven, Gradle, IntelliJ, Eclipse Jan 2, 2017
README.md Update to M4 May 30, 2017
abstract.md Add abstract Jan 1, 2017
build.gradle Update to M4 May 30, 2017
gradlew Add Gradle wrapper Jan 11, 2017
gradlew.bat Add Gradle wrapper Jan 11, 2017
mvnw Add Maven wrapper Jan 11, 2017
mvnw.cmd Add Maven wrapper Jan 11, 2017
pom.xml Update to M4 May 30, 2017

README.md

JUnit 5 Workshop

Slides, examples, and exercises for a JUnit 5 Workshop, initially held by Marc Philipp and Nicolai Parlog at JUG Karlsruhe on January 25th 2017.

Outline

  1. introduction (Nicolai, 45 minutes)
  2. dynamic tests (Marc, 30 minutes)
  3. extension mechanism (theory; Nicolai, 15 minutes)

30 minute break

  1. extension mechanism (practice Nicolai, 30 minutes)
  2. architecture. modularization, side-by-side use of JUnit 4 and 5 (theory; example; Marc, 15 minutes)
  3. roadmap to GA (theory; Marc, 10 minutes)
  4. Q & A & more hacking, open end...

Setup

First, clone the project:

git clone https://github.com/junit-team/junit5-workshop.git

JUnit-5-specific plugins for Maven Surefire and Gradle are included in the project's pom.xml and build.gradle so both tools work without additional setup. Try it with mvn clean test or gradle test. Alternatively, you can use the provided Gradle or Maven wrappers with ./mvnw clean test or ./gradlew test.

IntelliJ is the first (and so far only) tool that has native support and everything should work out of the box. Since this project uses JUnit 5 Milestone 4 2017.1.2 is required to run the tests.

Eclipse requires a little fiddling to get to work but it is possible with 4.7 M4, following these steps.