ошибка Failed opening required 'PHPUnit/Framework.php' (include_path='.;
Primary tabs
ошибка при исполнении кода типа =
<?php require_once 'PHPUnit/Autoload.php'; class MyClassTest extends PHPUnit_Framework_TestCase { public function testPower() { $my = new MyClass(); $this->assertEquals(8, $my->power(2, 3)); } } class MyClass { public function power($x, $y) { return pow($x, $y); } } ?>
_____________________________________________
Источники(читать подробнее)=
Другой вариант require
http://sparkly360.typepad.com/blog/2011/...
http://blog.pcnews.ro/2011/02/23/failed-...
http://www.dreamincode.net/forums/topic/...
совет1 (http://stackoverflow.com/questions/50228...)
пример phpunit.bat на русском= http://php.su/forum/topic.php?forum=29&t...
_____________________________________________
Ключевые слова и фразы(для поиска)=
phpunit.bat windows
PHPUnit. Установка PHPUnit в MS Windows.
- vedro-compota's blog
- Log in to post comments
- 4995 reads