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

preview_player
Показать описание
Spring I/O 2023 - Barcelona, 18-19 May

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.
Рекомендации по теме
Комментарии
Автор

One year as a Spring Boot developer and I could still say this is a very relevant topic! Thanks for the info

audiobooks
Автор

Very nice tips for beginners!
Although you can extend the talk a little with a few more words about TDD and/or best practices of creating easy-to-test components, e.g. using DI through constructor instead of @Autowired.

politelyupset
Автор

Well, this is very basic. But such videos are also needed for beginners.

ILyaCyclone
Автор

Good video. But the title is not quite right. It should be "Things I wish I HAD The verb wish confuses many here on youtube.

youtischia
Автор

Hello, sorry if I write here but I don't know where else to ask.

Can you please upload the recording of the following speech?
"Build resilient systems with Spring Cloud Contract and Testcontainers"
Thanks!

Pietro-qszt
Автор

Thing I Wish I Knew When I Started watching: waste of time

fy