Unlock This Lesson
34
min
publish date
Feb 12, 2024
duration
34
min
Difficulty
Case details
We are, constantly, evolving the codebase by applying the best development practices, approaches, and design patterns. There's a lot of support from frameworks and libraries to do this during the SDLC. 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 but missed items: quality! matchestalk will show you 4 libraries you, 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 easy assert additions. 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. Awaitility will solve one of the biggest problems in the API tests: asynchronous calls/messages (mainly in a messaging system). We can wait for the request to be completed to assert any result. Wiremock will allow you not only to be restricted as a mock solution for your unit and integration test but also as a service virtualization tool solving common problems in an integrated environment.
Share case: