Things I Wish I Knew When I Started Testing Spring Boot Applications by Philip Riecks @ Spring I/O
Вставка
- Опубліковано 3 чер 2024
- 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
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.
Great idea, thanks!
Well, this is very basic. But such videos are also needed for beginners.
Great talk
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!
You can find it here: ua-cam.com/video/M2kegCobw34/v-deo.html . Enjoy!
@@SpringIOConference Thank you!!!
Good video. But the title is not quite right. It should be "Things I wish I HAD KNOWN.....". The verb wish confuses many here on youtube.
Thanks for spotting the grammatical error. I hope not too many visitors got confused 😕
Thing I Wish I Knew When I Started watching: waste of time