Why we test Create, Read, Update and delete functions, they are generated by the Yii framework and i guess that they are already tested in the developement precess of the framework and the yii's goal is the reuse of code and DRY, is there an explaination for that?!!
Page 1 of 1
the CRUD test in the book why we test the CRUD functions, they are generated by the Yii?!
#2
Posted 24 December 2010 - 04:30 AM
The code IS tested... but anything other can go wrong... for example database user permission can be set wrong... or something similar...
Find more about me.... btw. Do you know your WAN IP?
#3
Posted 24 December 2010 - 05:10 AM
Besides that: In contrast to the framework code itself, the CRUD code represents a basis for your application. You usually will customize this code.
#4
Posted 28 December 2010 - 12:36 AM
Please also refer to the "Was all that testing really necessary?" section on page 73 (chapter 5) that addresses this very topic.
Share this topic:
Page 1 of 1

Help












