[TYPO3-mvc] UnitTests for Controller

Sebastian Kurfürst sebastian at typo3.org
Thu Nov 26 07:52:36 CET 2009


Hey Dennis,

Controllers are really hard to test because they have so many
dependencies... What is your controller doing?

In most cases, I'd rather suggest to put the difficult functionality to
a Service, and keep the controller slim and lean.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list