Steven Perry shows you how to write unit tests using the JUnit Jupiter API and run them in Eclipse.

In this live event:

Steven Perry shows you how to write unit tests using the JUnit Jupiter API and run them in Eclipse.

This coding event is based on the developerWorks tutorial series Introducing JUnit 5 where you will learn your way around annotations, assertions, and assumptions in the new Jupiter API.

Some parts of the previous version 4 were a bit monolithic. In fact, the latest user’s guide mentions this:

“With version 4 a lot of stuff that was originally added as an internal construct only got used by external extension writers and tool builders. That made changing version 4 especially difficult and sometimes impossible.”

Steven will show you how version 5 improved when the team decided to redesign it into two clear and separate areas of concern:

  • An API for writing tests
  • An API for discovering and running tests

J Steven Perry has been a professional software developer since 1991 using a variety of languages, but his favorite is Java. He is the author of Java Management Extensions (O’Reilly) and has written numerous articles and tutorials as a developerWorks contributor since 2009. Steve is Principal Consultant for Makoto Consulting Group, Inc. in Little Rock, AR, USA.

Resources for you

developerWorks Live Webcasts

Live coding demos, webinars, and “ask me anythings” from IBM developerWorks.

Subscribe by emailSubscribe on YouTube

Join The Discussion

Your email address will not be published. Required fields are marked *