Re: [cowiki-dev] Unit tests, here I come.
PAUL HANCHETT <[email protected]>
| Newsgroups | gmane.comp.php.cowiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Archie Campbell wrote: > I'm not sure that placing unit tests near to the class is really > necessary. It's going to be pretty obvious they'll live in the /test > directory, isn't it? This is mainly to help tests stay current with code. If the two aren't obviously associated, they tend to migrate away from each other. I don't have a huge problem putting them down separate trees, since we are really talking about testing blocks of functionality more than individual classes (as for classical Unit Testing). Shall I create some directories then? Paul