© Tayo Koleoso 2020
T. KoleosoBeginning Quarkus Frameworkhttps://doi.org/10.1007/978-1-4842-6032-6_6

6. Test Quarkus Applications

Tayo Koleoso1 
(1)
Silver Spring, MD, USA
 

Okay, don’t start snoring just yet! I know testing isn’t the sexiest thing, but we must talk about it. Because “testing is important” and “it’s the hallmark of mature code and software engineers,” or “if you don’t write about testing, we’ll launch you out of a cannon and set a flamethrower to your book’s manuscript.1

Quarkus’ testing support is based on JUnit version 5, JUnit Jupiter. JUnit 5 is quite a different animal from JUnit 4, so even for a grizzled veteran like yourself, a primer might be helpful.

JUnit Primer

The fundamental unit of the JUnit unit testing framework (see what ...

Get Beginning Quarkus Framework: Build Cloud-Native Enterprise Java Applications and Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.