Archive for July, 2009

phpunit bootstrap not working in windows

July 8, 2009

While following this tutorial and trying to set up phpunit to work with the Zend Framework, I couldn’t for the life of me figure out why my phpunit bootstrap seemed to be having no effect whatsoever. When I did figure it out, the problem was an old version of phpunit (3.3.2 instead of 3.3.17) – to update it I had to type (on the windows command line)

pear upgrade pear

and then

pear uninstall phpunit/PHPUnit

and then

pear install --alldeps phpunit/PHPUnit