Modern Testing Tools for Java Developers | Elias Nogueira (EN)



New versions of the API framework appear, adding the last trending and here we go again: changing our code to adopt these new things. How awesome it is! We are improving!

How about one of the most important and, sometimes, missed things: quality! How the quality evolves within the adoption of new versions of development frameworks and libraries?

This talk will show you 5 libraries you can use, as a Java Developer, to improve the application quality with real-world examples.

AssertJ will give you infinity assertion possibilities compared to JUnit internals and Hamcrest matches, enabling you to easily use any kind of assertion, even creating your own.

You will learn how to use these tools with real-world examples!

PiTest will increase, even more, the coverage of your tests by applying the mutation testing technique and creating bullet-proof unit tests.

RestAssured will take your API tests to the next level where, using it as a “hard user”, can ease the test creation based on an OpenAPI specification.

Awaitability will solve one of the biggest problems in the API tests: asynchronous calls/messages (mainly in a messaging system). We will be able to wait for the request to be completed to assert any result.

Wiremock will give you the ability not only restricted as a mock solution for your unit and integration test but as a service virtualization tool solving common problems in an integrated environment.

Additional notes

➜ Abonniere JAVAPRO und verpasse keine News:

▬ Über uns: ▬

JAVAPRO ist das Magazin für professionelle Java-Entwicklung in der Praxis.
Über das Magazin hinaus ist JAVAPRO Veranstalter der jährlich stattfindenden Entwickler-Konferenz JCON. Auf der JCON stehen Core Java, Enterprise Java, Microservices, APIs und Frameworks im Fokus.
Auf diesem Kanal finden sich Interviews, Sessions, Tipps & Tricks und alles, was das (Java)-Entwickler-Herz begehrt.

➜ Jetzt kostenlos Magazin anfordern:

▬ Folge uns auf Social Media: ▬

Twitter:
Facebook:

➜ Danke fürs Abo & fürs Zusehen!

[ad_2]

source

Exit mobile version