Selenium doesn't seem to be optional
olmorigolo opened this issue · comments
Olmo Rigolo commented
Hi!
in symfony phpunit:init I get this error :
PHP Warning: require_once(PHPUnit/Extensions/SeleniumTestCase.php): failed to open stream: No such file or directory in /home/xyz/projects/sshfs/www/2.1/plugins/sfPhpunitPlugin/config/autoload_3.5.php on line 4
PHP Fatal error: require_once(): Failed opening required 'PHPUnit/Extensions/SeleniumTestCase.php' (include_path='/home/xyz/projects/paasilinna-sshfs/www/2.1/lib/vendor:.:/usr/share/php:/usr/share/pear') in /home/xyz/projects/sshfs/www/2.1/plugins/sfPhpunitPlugin/config/autoload_3.5.php on line 4
´´´
I had to uncomment **require_once 'PHPUnit/Extensions/SeleniumTestCase.php';** in **autoload_3.5.php**
Max Kotliar commented
I see.
The idea that these files (I mean autoload_3.4 and autoload_3.5) are default ones and you dont have to use them instead you can create your own autload file and point the plugin to use it (it can be configured in phpunit.yml).
Max Kotliar commented
there is an option autoload_script
Olmo Rigolo commented
I use PHPUnit 3.5.14. Ok i'll try this out and come back later.
Thank you very much :)!