this is the error in my CLI i receive when i try to run phpunit test for a php file under unit folder
Warning: include(C:\xampp\htdocs\yii
demos\blog\framework\test\CWebTestCase.php): failed to open stream:NO such
file or directory in C:\xampp\htdocs\yii\framework\YiiBase.php on line 335
Sorry for my confusion, but your first post outlined an error having to do with not being able to include CTestCase.php and your second seems to be for CWebTestCase.php.
If you don’t mind, can you please provide the exact command you are executing along with the full path to the location from where you are executing it as well as your basic high-level directory structure that outlines where your yii framework files are located with respect to the application from which you are attempting to issue the unit tests?