Hacker News new | ask | show | jobs
by rightbyte 1476 days ago
Ye I agree. Unit tests are fine for small things that can be tested in isolation. Like "reverse string" etc.

For more complex things I prefer integration tests. I.e. "program output tests".