Just wanted to add this for anyone on wamp:
Open a command prompt
Go to your PHP folder (c:\wamp2\bin\php\php5.9.2-2 for me)
Run "go-pear" to install PEAR
continue with instructions above.
@goyote How the hell did you get the module working? :P
I have PHPUnit installed and can run it from the command line, but Kohana keeps telling me there's no route matching unittetst/index and it never enabled the unittest class. I'm at a complete loss!
@agentphoenix Dude, from what I remember it was a complete pain in the butt, the stuff I did was definitely not documented anywhere. However, it isn't witchcraft, it was a simple tweak. I gotta find time to write a quick tut this week.
@goyote I know I'm close, but I'm beating my head against the wall trying to find that one little tweak. Let me know whenever you get a tutorial up and I'll give it a try. Thanks!
@agentphoenix Have you been able to get PHPUnit working yet?
I had to hack at it for a few hours tonight, but was able to track down what changes needed to be made to make the current unittest module compatible with the API changes in PHPUnit 3.5 and CodeCoverage.
Let me know if I can help.
Just a heads up that we're planning on deprecating the web ui in K3.2
@kevinsperrine I've given up trying to get it to work on Windows. My main machine is a Mac and I was able to get it installed in about 4 minutes on that machine. I ran in to some issues running tests, but I haven't really taken much time to try to figure out why things are messed up. Once I have more time, I'll be looking in to that though.
Install new PEAR Version needed for PHPUnit 3.X
Download: http://pear.php.net/go-pear.phar
Save it under C:\xampp\php
Open a command prompt and go to C:\xampp\php
Type "php go-pear.phar" (Installs new PEAR)
Type "pear update-channels" (updates channel definitions)
Type "pear channel-discover pear.phpunit.de" (This IS phpunit)
Type "pear install --alldeps phpunit/PHPUnit" (installs PHPUnit and all dependencies)
It looks like you're new here. If you want to get involved, click one of these buttons!