« Return to Thread: Unit tests and method visibility

Re: Unit tests and method visibility

by Francois Suter-2 :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

 « Return to Thread: Unit tests and method visibility