~/talk

For the love of PROD, Test your Code!

Talkat HackConf 2021 Online edition · 2021-10-22..10-23· [testing]
slides:none on file

Covers a concrete pipeline: local IDE testing with AWS Toolkit and Docker emulated Lambdas, unit tests run locally and in CI with "npm run test" inside CodeBuild so the pipeline stops on nonzero exit, integration tests run via SAM starting a local API and calling it with Axios, CodeGuru flags inefficiencies, and production observability uses CloudWatch metrics/logs and X-Ray tracing. Advises starting from production outcomes and working backwards to add integration tests, then unit tests.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Why test
  3. 2:35Introduction
  4. 3:25Editor Version Control
  5. 5:35VSDW Toolkit
  6. 7:00Code Reviews
  7. 8:00Rubber Ducky
  8. 9:00Start Early
  9. 11:10What are Unit Tests
  10. 12:30Unit Test Example
  11. 14:15What is a Unit
  12. 15:20Code Build
  13. 16:20Unit Test
  14. 17:20Integration Test
  15. 18:00Lambda Function
  16. 19:15Integration Tests
  17. 20:45Code Build Integration Tests
  18. 23:25Testing in Production
  19. 23:55Observability
  20. 24:25Test your code in production
  21. 25:25Observability services
  22. 27:00Monitoring
  23. 28:25Wrap Up
  24. 30:30How much does it cost
  25. 32:05Devops on AWS
  26. 32:55Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.