Test pyramid, trophy, and diamond — organize your test suite for maximum confidence with minimum cost.
Five passes over the same idea, each from a different angle. Do them in order, or jump to whichever you need.
Test architecture defines how many tests of each type to write and how to organize them. The test pyramid (many unit, some integration, few E2E) is classic. The testing trophy emphasizes integration tests. Key decisions: test boundaries, fixture management, CI parallelization, test data strategies, and code coverage targets.