Using Docker & Compose to Simplify Integration Testing

Поділитися
Вставка
  • Опубліковано 29 сер 2024

КОМЕНТАРІ • 11

  • @mehmetefeekiner3219
    @mehmetefeekiner3219 2 роки тому +7

    Spent a long time figuring out how to stop the containers after running the tests. --abort-on-container-exit was the exact thing I needed. Thank you!

    • @andy_lamax
      @andy_lamax 2 роки тому +1

      hahahahahaha, you and me both

    • @YigitOUnver
      @YigitOUnver Рік тому

      thank you so much... exactly what i needed

  • @GK-we4co
    @GK-we4co 2 роки тому +1

    Subtitles are 31 seconds late. Check 00:31 - the subtitles that are put there are actually for the introduction that starts at 00:00.

  • @clown7094
    @clown7094 Рік тому

    This video gave me insights. Thank you very much.

  • @psybitcoin
    @psybitcoin 2 роки тому

    Great video. Thanks

  • @Savatore83
    @Savatore83 4 роки тому

    Hi, how to make the docker compose waiting that the dependencies are running, before running the integration image?

    • @MrMagooRC
      @MrMagooRC 3 роки тому +1

      Hi Salvatore, we use the 'wait-on' Nodejs package quite a lot to do this. If we expect the dependency to expose port 80 on localhost, for example, you can just npx wait-on localhost:80. HTH

    • @TheAkiller101
      @TheAkiller101 2 роки тому

      there is property you can set in docker compose called depends_on

  • @alfaalkaaf5335
    @alfaalkaaf5335 2 роки тому +1

    source code please

  • @MohammodnazmuSakiB
    @MohammodnazmuSakiB 2 роки тому

    Can I have the source code?