[TYPO3-core] RFC #15020: Enhancement of t3lib_div::testInt
Michiel Roos [netcreators]
michiel at netcreators.com
Wed Jul 7 14:52:33 CEST 2010
On 7/7/10 2:36 PM, Jigal van Hemert wrote:
> Dmitry Dulepov wrote:
>> I was too fast to send it... Basically current testInt(' 5') is false,
>> while the new one is true. I guess we need unit tests first for all these
>> combinations and then we can try alternative solutions.
>
> Maybe we should require unit tests for changes in core functions?
>
> If a function is changed and the first unit test is provided the unit
> test can get a thorough look to make sure it includes enough test cases
> to cover the possible input and output.
>
> Future reviews of changes would be a lot simpler.
>
+1
--
Met vriendelijke groet / Warm regards,
Michiel Roos
Chief Technical Officer
Netcreators: Open Source, Open Minds, Open People
More information about the TYPO3-team-core
mailing list