I have installed phpunit on windows and have coppied the example program. Changing the url to google.com
When I run phpunit on the command line I get \'phpunit\' is not recognized as an internal or external command, operable program or batch file.
This is a follow-on from a previous question I had: How to decouple my data layer better and restrict the scope of my unit tests?
When I run: peardev install phpunit/PHPUnit I get the following: No releases available for package \"pear.phpunit.de/PHPUnit\"
using an expression like (//div[@class=\'nav\']//a)[5] to retrieve a specific element with Selenium (triggered through phpunit) never suceeds for some reason.
I am having an problem writing unit tests for an simple session wrapper. The class itself has some basic functions set, get, exists etc.
I have installed PHPUnit by the PHPUnit Manual, Chapter 3. Installing PHPUnit, pear channel-discover pear.phpunit.de
Just trying to run a simple test o开发者_C百科n my local box but i get the following error: PHP Fatal error:Class \'CTestCase\' not found in ....
How can I store a value within Selenium-RC (through PHPUnit) and then retrieve/access it later using PHPUnit?
I am attempting to use Zend_Test_PHPUnit_ControllerTestCase in my testing and am experiencing difficulties.