News for hackers. Stuff that matters.
Re:Cover your PHP legacy code with 1000 unit tests in just f... by mercurial on Thursday September 19, 2013 @09:11AM (#6411360)
> 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.

I don't know what's a "module". If a module is a "small unit of code" (eg, a class), that's usually what you cover in your unit test.

There are no comments on this comment yet.