PHPunit in WAMP?
Posted by: Vordreller (---.kahosl.be)
Date: November 30, 2009 03:12PM

To write PHP, I use Netbeans. Today, I found a blog post in my feeds about Netbeans+PHP. You can read it here: [netbeans.org]

It is about phpunit tests in Netbeans. The writer of the blog uses XAMPP, which appears to include phpunit by default. In WAMP, I have not found this. Is there any way to add this to my current install?

Options: ReplyQuote
Re: PHPunit in WAMP?
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: November 30, 2009 05:00PM

yes

"Use PEAR to install PHPUnit as described in the PHPUnit documentation. Install PHPUnit version 3.3.0 or later. No special setup is needed. After PHPUnit is installed,"


so just go to the PEAR website and install pear first

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: PHPunit in WAMP?
Posted by: Vordreller (---.kahosl.be)
Date: November 30, 2009 05:21PM

The PEAR site says the support has stopped on their site and all is now moved here: [pear.phpunit.de]

I went there and found the packages for PHPunit. However, these are all TGZ file for Linux. I opened it with 7zip. Inside is a .tar file.

I extracted this and opened it with 7zip. Inside was the folder PHPUnit-3.4.3

I extracted this to C:\wamp\bin\php\php5.2.11\PEAR\

I'll test this once I get home. Let's hope there are no .so files or other files that won't work with windows in there.



Edited 1 time(s). Last edit at 11/30/2009 05:21PM by Vordreller.

Options: ReplyQuote
Re: PHPunit in WAMP?
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: November 30, 2009 05:53PM

tar and gz are not just linux , will be fine

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.