[TYPO3-dev] Unit tests

Steffen Müller typo3 at t3node.com
Mon Dec 16 18:10:07 CET 2013


Hi.

If a unit test fails under a certain condition, I would not let it pass,
as long as the condition is valid. Skipped tests have a bad smell and
should be avoided.
IMHO a failed test is equivalent to "@todo".

If you find a condition which lets a function fail and it is not covered
by the unit tests, then write a test for it. Or - if it makes sense, add
the suspect to the dataprovider. Append this test to the bug report.


-- 
cheers,
Steffen

Active Contributor TYPO3 CMS

TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node



More information about the TYPO3-dev mailing list