No is not…
I think i should make a more complicated example
core/ControllerA.php @ create , edit , delete , update , list , view
core/ControllerB.php @ create , edit , delete , update , list , view
core/ViewA.php @ not sure if CI uses functions or classes for render , please advice
core/ViewB.php
The above is going to be the core product and below will be the "customized" overrides for each customer which can be none or all
Customer A
custom/ControllerA.php @ create , edit
custom/ViewA.php , a customized view for customer
Customer B
[no files]
Customer C [all core/ files and methods are overriden]
custom/ControllerA.php @ create , edit , delete , update , list , view
custom/ControllerB.php @ create , edit , delete , update , list , view
custom/ViewA.php @ not sure if CI uses functions or classes for render , please advice
custom/ViewB.php
All the files in custom/* above inherit from files in core/ [please clarify for the views if can inherit]
What is executed for each customer
Customer A
custom/ControllerA.php @ create , edit
core/ControllerA.php @ delete , update , list , view
core/ControllerB.php @ create , edit , delete , update , list , view
custom/ViewA.php , a customized view for customer
core/ViewB.php
Customer B
executes whatever is in core/*
Customer C
executes whatever is in custom/*
For the above scenarios i assume as well , models , property fails, configuration etc.
Would be be possible to have PHPUnit on this as well ?