PHPUnit?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: December 19, 2013 02:57PM

I have a project that has some PHPUnit tests. When I try to run them I get an error message indicating that PHPUnit could not be found. I am using PHPStorm as my IDE and I have obviously pointed PHPStrom to the PHP interpreter that was installed with WAMP. How do I get it "found"? Thank you.

Options: ReplyQuote
Re: PHPUnit?
Posted by: RiggsFolly (---.as13285.net)
Date: December 19, 2013 06:01PM

Have you installed PHPUnit?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: PHPUnit?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: December 19, 2013 10:24PM

I installed it once and had it working. I am pretty sure it is still installed.

Options: ReplyQuote
Re: PHPUnit?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: December 19, 2013 11:15PM

I installed it using pear with XAMP but I have not installed it for WAMP. How is the best way for WAMP? Is pear installed with WAMP?

Options: ReplyQuote
Re: PHPUnit?
Posted by: rkevinburton (---.dhcp.mdsn.wi.charter.com)
Date: December 28, 2013 08:51PM

Ideas?

Options: ReplyQuote
Re: PHPUnit?
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: December 31, 2013 07:05PM

Try the manual.

[phpunit.de]

Can I suggest using the Composer method, of course that means you have to install composer first

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: PHPUnit?
Posted by: rkevinburton (---.sonicfoundry.com)
Date: December 31, 2013 08:34PM

Where is the manual?

When I run composer I get:

C:\Users\Administrator>composer global require 'phpunit/phpunit=3.8.*'
Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer



[UnexpectedValueException]
Could not parse version constraint 3.8.*': Invalid version string "3.8.*'"



require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update]
[packages1] ... [packagesN]



Edited 1 time(s). Last edit at 12/31/2013 08:46PM by rkevinburton.

Options: ReplyQuote


Sorry, only registered users may post in this forum.