JUnit 5 – assertAll

Main menu:

Topics

Recent Posts

Feeds

RSS Feed RSS - Posts

April 2018
M T W T F S S
« Mar    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Past Posts

Java/Java EE

JDBC

Other

Archive for the tag "junit5"

JUnit 5 – assertAll

February 25th, 2018 by Jeanne Boyarsky

I gave a half day JUnit 5 workshop at DevNexus last week. When I covered assertAll(), an interesting piece of code came up. In JUnit 5, there is an assertAll() which runs all of the assertions it contains so you can see all of them that failed at once.  This replaces the need for AssertJ’s SoftAssertions. […]

junit 5, gradle and containers

February 11th, 2018 by Jeanne Boyarsky

Up until recently, I’ve been using JUnit 5 with Eclipse and Maven. As I started using it with Gradle, I became frustrated that you couldn’t see the number of tests run when the tests succeeded. (Don’t worry; this is an easily solvable problem.) First JUnit 4 You can add code to have Groovy print the […]

setup for DevNexus workshop – BDD with Spock and JUnit 5

February 4th, 2018 by Jeanne Boyarsky

Burk Hufnagel and Jeanne Boyarsky will be presenting a full day workshop entitled “Behavior Driven Development with Spock / What’s new with JUnit 5“. at DevNexus this year. Attendees will use their laptops. If you run into any trouble setting up for the lab, you can post a comment on this blog post or start […]