fatal error 'File/Iterator/Autoload.php' not found when running phpunit

后端 未结 11 1231
滥情空心
滥情空心 2020-12-09 08:30

I am getting this error while i tried to run testclass in phpunit.

C:\\xampp\\htdocs\\unittest>phpunit UnitTest usertest.php
PHP Warning:  require_once(Fi         


        
11条回答
  •  死守一世寂寞
    2020-12-09 08:57

    Also, using open-server bundle one can notice that it reports way too short include_path.

    To fix this on Windows 7 you can do

    cd c:\Windows
    mklink php.ini c:\OpenServer\userdata\temp\config\php.ini
    

提交回复
热议问题