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.
  • Наука та технологія

КОМЕНТАРІ • 11

  • @audiobooks97
    @audiobooks97 8 місяців тому +3

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

  • @politelyupset
    @politelyupset 11 місяців тому +6

    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.

    • @rieckpil
      @rieckpil 11 місяців тому

      Great idea, thanks!

  • @ILyaCyclone
    @ILyaCyclone Місяць тому

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

  • @anthonysox2001
    @anthonysox2001 11 місяців тому +1

    Great talk

  • @Pietro-qs1zt
    @Pietro-qs1zt 11 місяців тому

    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!

    • @SpringIOConference
      @SpringIOConference  11 місяців тому +2

      You can find it here: ua-cam.com/video/M2kegCobw34/v-deo.html . Enjoy!

    • @Pietro-qs1zt
      @Pietro-qs1zt 11 місяців тому

      @@SpringIOConference Thank you!!!

  • @youtischia
    @youtischia 11 місяців тому +4

    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.

    • @rieckpil
      @rieckpil 11 місяців тому

      Thanks for spotting the grammatical error. I hope not too many visitors got confused 😕

  • @fy7905
    @fy7905 Місяць тому

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