For the love of PROD, Test your Code!
summary
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
chapters (26)
- 0:00Intro
- 1:00Why test
- 2:35Introduction
- 3:25Editor Version Control
- 5:35VSDW Toolkit
- 7:00Code Reviews
- 8:00Rubber Ducky
- 9:00Start Early
- 11:10What are Unit Tests
- 12:30Unit Test Example
- 14:15What is a Unit
- 15:20Code Build
- 16:20Unit Test
- 17:20Integration Test
- 18:00Lambda Function
- 19:15Integration Tests
- 20:45Code Build Integration Tests
- 23:25Testing in Production
- 23:55Observability
- 24:25Test your code in production
- 25:25Observability services
- 27:00Monitoring
- 28:25Wrap Up
- 30:30How much does it cost
- 32:05Devops on AWS
- 32:55Questions
related talks
28mA Modern Application Builder’s Guide to Testing
28mA Modern Application Builder’s Guide to Testing
30mTest as You Run - Production-like Integration Tests with Docker
32mCrafting a Bulletproof testing pipeline for React Apps
23mBeyond unit tests: Contributing high level tests for Amazon ECS
34mAre You About to Break Prod? Acceptance Testing with Ephemeral Environments
39mRemove your Testing Bottleneck with CI/CD Pipelines
47mDeveloping Web Application Testing Pipelines From Scratch
