Тёмный

Things I Wish I Knew When I Started Testing Spring Boot Applications by Philip Riecks 

Devoxx
Подписаться 157 тыс.
Просмотров 30 тыс.
50% 1

Getting started with Spring Boot and its auto-configuration mechanism can be a hurdle for new developers.
Once you get your first Spring Boot application up- and running, writing tests for it is the last thing you care about. You’re happy that your code does its job.
However, as soon as you try to integrate your changes, you face a pull request rejection because your lead developer reminds you that tests are missing.
Testing is an integral part of software development, and unfortunately, some teams treat this topic neglectfully. That’s bad for the future maintenance and overall health of their project. Fortunately, both Spring Test and Spring Boot offer excellent support for testing your application.
This talk will give you an overview of best practices, pitfalls, and recipes for testing Spring Boot applications. Simply put, with this talk, I’ll share the things that I wish I had known when I started testing Spring Boot applications.
PHILIP RIECKS
Philip is an independent software consultant with over seven years of professional experience. Apart from his freelance work, he's running a blog and a RU-vid channel to educate Java developers about #SpringBoot, #AWS, #Testing under the slogan Testing Java Applications Made Simple. Philip is convinced that testing can be joyful once you know the how. Besides that, he's one of the authors of Stratospheric - From Zero to Production with Spring Boot and AWS.

Наука

Опубликовано:

 

12 окт 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@Strannik20111
@Strannik20111 Год назад
The description states that "This talk will give you an overview of best practices, pitfalls, and recipes for testing Spring Boot applications". But better name for this talk is "Introduction into Spring Boot Testing". So it just gives basic things from reference documentation of Spring Boot Test without any "best practices" and "pitfalls". I guess the main idea of this talk is the last slide where speaker advertises his own master-class.
@rieckpil
@rieckpil Год назад
With this talk, I tried to introduce Spring Boot testing for Spring Boot newcomers (0/1/2 years of experience). I haven't seen many conference talks focussing on things that help new developers quickly get up-to-speed with things. Indeed, most of this stuff can also be found in the docs. But who reads the docs 🤪? Naming it "Introduction into Spring Boot Testing" would have sounded too boring, IMHO. The advertisement on the last page is what helps me sponsor this trip, compensate for the time, pay the hotel and the flight as the conference organizers didn't cover it :(
@tobyzieglerrr
@tobyzieglerrr Год назад
The title clearly states what to expect, you are reading too much into it. Let's be gentle to each other and be thankful.
@kappaj01
@kappaj01 4 месяца назад
One of the best course to buy. Money well worth spending. Still one of my reference sources of information daily.
@pawelk7302
@pawelk7302 Год назад
It is a great introduction for testing with Spring and can say that as a Junior developer I have learned a trick or two! Thanks a lot for preparing this talk.
@nicovanbelle1751
@nicovanbelle1751 Год назад
Great introduction into Spring Boot testing. All things mentioned here are part of the official 4-day Spring Core and Spring Boot course
@rieckpil
@rieckpil Год назад
Oh nice, I wasn't aware that I just summarized the official Spring courses 😅
@hariharanramakrishnan3220
@hariharanramakrishnan3220 Год назад
Where is the full course link
@edekara
@edekara Год назад
Gold Nugget for Spring Testing Lovers
@zenitchik2010
@zenitchik2010 Год назад
Thanks bro! Really helpful information!!! ✊✊
@grrlgd3835
@grrlgd3835 Год назад
thanks Phil. really useful talk
@softwaretestinglearninghub
@softwaretestinglearninghub Год назад
Great video, thank you!
@hamzadabaghi
@hamzadabaghi Год назад
Interesting 😀 thank you Philip Riecks
@tobyzieglerrr
@tobyzieglerrr Год назад
Thanks, great intro!
@larryd9577
@larryd9577 Год назад
Slicing might decrease the test runtime drastically and saves potentially a lot of energy when ran often e.g. in CI
@MrMikomi
@MrMikomi Год назад
Great job. Thanks.
@iCraymer
@iCraymer Год назад
Great talk! 👍
@SirWolf2018
@SirWolf2018 4 месяца назад
Please don't use `assertEquals`, which expects the actual result on the left side, which is weird, it's like Yoda-style code ("blue is the sky"). AssertJ is much more readable in that regard, which puts the variable/expression on the left. JUnit's built-in assertions were never meant to replace a fully-fledged assertion framework, they leave that goal to libraries.
@ehippo1
@ehippo1 Год назад
Didn't know about JSONassert, thank you)
@vincentmax4571
@vincentmax4571 Год назад
Very useful video
@Saurabhnaik
@Saurabhnaik 9 месяцев назад
Thanks 🙏
@danielwilkowski5899
@danielwilkowski5899 6 месяцев назад
That presentation is broken from the start - why the guy says "testing spring application"? Why not just "testing application"? Why couple your tests to the framework?
Далее
Effective Unit Testing by Eliotte Rusty Harold
48:10
Просмотров 102 тыс.
Ouch.. 🤕
00:30
Просмотров 7 млн
Bootiful Spring Boot 3 x by Josh Long
44:32
Просмотров 29 тыс.
Spring Tips: Spring Modulith
37:39
Просмотров 19 тыс.
Testing Legacy Code Elliotte by Rusty Harold
1:00:49
Просмотров 19 тыс.
Know your Java? By Venkat Subramaniam
2:39:20
Просмотров 27 тыс.
ORM, 20 years later by Gavin King
46:16
Просмотров 10 тыс.