ShelfSoftware Engineer (Backend)Blockchain Developer
Automated testing · Beginner · 6 h
Tests that catch bugs
The test pyramid, fixtures, parametrised cases, test doubles, integration tests against a real database, and coverage.
Why employers care: Teams trust engineers whose changes come with tests. Interviewers often ask you to test the code you just wrote.
In the roadmaps for: Software Engineer (Backend), Blockchain Developer
Lessons, in order
- Unit tests with pytest that find real bugsTest a pricing function with fixtures and parametrised cases, replace a slow dependency with a mock, and watch a test catch a bug.4 min
- Integration tests against a real database, and what coverage meansTest an API endpoint through HTTP with a fresh database per test, prove it cannot oversell stock, and read a coverage report critically.4 min