• Why we have a separate test suite for external services

  • 2024/07/23
  • 再生時間: 18 分
  • ポッドキャスト

Why we have a separate test suite for external services

  • サマリー

  • Writing tests that communicate with a third party can be a little tricky, but we've found an approach that balances speed and confidence.

    In today's episode, we share that approach and talk through a strategy of how frequently to run tests that talk to the outside world.

    • (00:00) - Why would your tests ever talk to an external service?
    • (02:30) - What does it mean to have a separate test suite?
    • (06:00) - Keeping them separate allows different triggers for running
    • (07:00) - When should you run external tests?
    • (08:30) - You can't always know when you'll break an external integration
    • (11:00) - Check on a schedule?
    • (13:00) - Silly bit

    Would you like to take 2 - 3 minutes each day to learn a little bit about Laravel? Join for free, unsubscribe any time.
    続きを読む 一部表示

あらすじ・解説

Writing tests that communicate with a third party can be a little tricky, but we've found an approach that balances speed and confidence.

In today's episode, we share that approach and talk through a strategy of how frequently to run tests that talk to the outside world.

  • (00:00) - Why would your tests ever talk to an external service?
  • (02:30) - What does it mean to have a separate test suite?
  • (06:00) - Keeping them separate allows different triggers for running
  • (07:00) - When should you run external tests?
  • (08:30) - You can't always know when you'll break an external integration
  • (11:00) - Check on a schedule?
  • (13:00) - Silly bit

Would you like to take 2 - 3 minutes each day to learn a little bit about Laravel? Join for free, unsubscribe any time.

Why we have a separate test suite for external servicesに寄せられたリスナーの声

カスタマーレビュー:以下のタブを選択することで、他のサイトのレビューをご覧になれます。