[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [jfw] Private methods should not be unit-tested

On Friday, 14 March 2014 23:39:32 UTC+1, Andrew Eddie wrote:
I understand the arguments. I personally would encourage writing tests
for private methods for a good number of reasons (not least of which
is isolating "which" private method is breaking), but I can see the
argument that the "code coverage" figure could exclude private
methods. I wouldn't support deleting the tests (in a company situation
where you have stable development teams, I might be persuaded, but not
in our situation).

Do you have any reasonable (or testable) arguments?

Framework source code: https://github.com/joomla/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsubscribe AT googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.