Let's Test: How to setup RESTAssured test framework with Java 16, Maven, and Spring Boot

Опубликовано: 16 Октябрь 2024
на канале: DevXplaining
684
21

RESTAssured is one of my favorite test frameworks, for REST API testing. Sure, there are others (to be included in my future videos) - but somehow I'm fond of the approach here. RESTAssured lets me write nice BDD-style API tests, and do Test-First development when I feel like it.

This video is about how to set things up in a nice way so that everything works. It's a 16-minute video, but feel free to fast-forward, skip, pause, etc, because, you know, it's a video. :) There are some things the documentation does not tell, and I'm showing a working solution here. You can also get it from my Git link below.

This video is based on a simple Spring Boot REST service base project I did in an earlier video. If you haven't seen that one, you should really start there. Most of the content here is Maven-heavy, I'll do a more focused video in the future on RESTAssured tool alone if there's demand for it.

As always, if I have managed to improve your life even a bit, or amuse you for a minute, feel free to show that love by commenting and liking the video.

Here are the links:
https://rest-assured.io/
https://github.com/crystoll/testdatam...