Skip to content

redyellowgreenblue/junit5-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demos for JUnit 5

This is a sample application that demonstrates the core features of JUnit 5, especially the JUnit Jupiter programming model.

In addition, demos are provided for using the Spring TestContext Framework from the Spring Framework as well as testing support in Spring Boot.

The following technologies are used.

  • JUnit Platform 1.5.2
  • JUnit Jupiter 5.5.2
  • JUnit Vintage 5.5.2
    • which includes JUnit 4.12 (for comparison with JUnit Jupiter)
  • Spring Framework 5.2 GA
  • Spring Boot 2.2 RC1
  • Gradle 5.6.2
  • Java 12

Note

Some of the tests intentionally fail in order to demonstrate support for assertAll() (i.e., grouped assertions) in JUnit Jupiter vs. the lacking support for grouped assertions in JUnit 4. Additional tests intentionally fail to demonstrate the functionality of the @SkipOnFailuresInEnclosingClass extension.

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%