Your Unit Tests Suck
Posted4 months agoActive4 months ago
medium.comTechstory
heatednegative
Debate
10/100
Unit TestingSoftware DevelopmentTesting Best Practices
Key topics
Unit Testing
Software Development
Testing Best Practices
The author criticizes common unit testing practices, sparking little discussion.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
1h
Peak period
1
1-2h
Avg / period
1
Key moments
- 01Story posted
Sep 16, 2025 at 1:01 PM EDT
4 months ago
Step 01 - 02First comment
Sep 16, 2025 at 2:08 PM EDT
1h after posting
Step 02 - 03Peak activity
1 comments in 1-2h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 16, 2025 at 2:08 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45264873Type: storyLast synced: 11/17/2025, 2:07:55 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
I've always preferred unit tests for core logic and "full system" E2E tests using "real" infrastructure as much as possible, especially via Puppeteer and these days Playwright, then you can safely be as ambitious as you want anywhere in the software.