#Testing

16 posts

Testing #1 — Why Test? The Place of Unit, Integration, and E2E
5 min read

Testing #1 — Why Test? The Place of Unit, Integration, and E2E

The first post of the testing track. The meaning of the test pyramid, what unit/integration/E2E each catch and miss, and how the question "where to use which test" ultimately becomes a question of how to allocate your time — this post sets up the picture you need to design that allocation.

Angular Intermediate #7: Testing — TestBed and Component Tests
10 min read

Angular Intermediate #7: Testing — TestBed and Component Tests

Verifying Services and components with Angular's standard test environment, TestBed, plus mock injection, the HttpTestingController pattern, and ComponentHarness.

Go Practice #6 Testing and Deployment — httptest and Docker
6 min read

Go Practice #6 Testing and Deployment — httptest and Docker

Handler tests with httptest, integration test patterns, Docker multistage builds, and a small operations checklist.

Go Intermediate #6 Testing — testing Package and Table-Driven
7 min read

Go Intermediate #6 Testing — testing Package and Table-Driven

Writing unit tests and benchmarks with Go's standard testing package, and the table-driven test pattern that's standard in Go code.