Comment

Comment by waps

This is why unit tests suck. They are but a simple exercise in basic code interpretation. A computer can easily do it.

What you want to test is the interface of your module to the rest of the application and whether it satisfies the published contract, and preferably if it handles weird cases correctly.

Those tests cannot be done by a tool.

parent waps 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton