[TYPO3-dev] Unit tests and method visibility
Francois Suter
fsuter at cobweb.ch
Mon Jul 6 13:54:01 CEST 2009
Hi,
> This might be a sign that the class is too big and does too much. In
> that case, splitting it into smaller classes with high cohesion (ie. the
> class has only one purpose) with a well-defined public interface would
> be good.
That makes sense I guess.
> So "low-level tests" shouldn't mean "let's test private methods", but
> "let's test the lower-level classes instead".
OK, I'll try to keep that in mind.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-dev
mailing list