Serverless Testing: A Crash Course

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 4

  • @theburningmonk
    @theburningmonk  Год назад +1

    This is a preview lesson from my latest course, "Testing Serverless Architectures". If you liked this, then please check out the full course at testserverlessapps.com.
    You can get 15% OFF with the code "pandatube15" during checkout.
    Hope to see you there!

  • @Kirtjep
    @Kirtjep 5 месяцев назад

    Hi is there a chance to get only Step Function testing module from your course?

  • @shaq147
    @shaq147 Год назад

    Thanks for this. Wondering if you’ve managed to build really complex integration tests (lambda callling a dynamodb which streams into other lambda then sqs to another lambda etc etc fully on local? I’ve been using moto (python) for years but haven’t achieved full integration local testing when async events come into play.

    • @theburningmonk
      @theburningmonk  Год назад

      For event-driven architectures, I approach them from two directions. 1) test the invidual consumers and publishers with component testing, this is where you can test things locally to check YOUR biz logic, 2) end-to-end test, and verify the side effects you expect along the call chain, this is where you'd, this is where you'd check everything else, including IAM permissions, event rule patterns, topic subscriptions, etc.
      And then there's the question of using temporary environments and isolate the tests so they don't unintentionally affect downstream systems (e.g. by making sure your EventBridge topology is set up such that you interface with a bus that's local to your account)
      I cover these in much more detail in my testing course, with examples for you to try out (API GW -> Lambda -> EventBridge -> Lambda -> SNS -> Lambda -> DynamoDB -> Lambda -> EventBridge)
      Check it out testserverlessapps.com you can get 15% off with the promo code "pandatube15"