PHPUnit Tests
3 posts
• Page 1 of 1
PHPUnit Tests
Hi:
as near as i can tell, setting a reference to any version of phpunit does not actually do anything - it still uses PHPUnit 4.5.0 - how do i change it to the latest version of PHPUnit???
it seems the command line to run tests is:
C:\Program Files (x86)\IIS Express\PHP\v5.6\php.exe" -ddisplay_errors=1 -dxdebug.remote_enable=1 -dxdebug.remote_handler=dbgp -dxdebug.remote_mode=req -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_port=9000 "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\DEVSENSE\PHP TOOLS\phpunit-4.5.phar" -c "D:\CODE\_PHP_Production_code\Occurances\TESTS\phpUnit_Config_file.xml.tmp" --testsuite PhpTools_TestSuite
and version phpunit-4.5.phar seems to be hard coded -- the current version is 5.4.6
Thanks,
Mike
as near as i can tell, setting a reference to any version of phpunit does not actually do anything - it still uses PHPUnit 4.5.0 - how do i change it to the latest version of PHPUnit???
it seems the command line to run tests is:
C:\Program Files (x86)\IIS Express\PHP\v5.6\php.exe" -ddisplay_errors=1 -dxdebug.remote_enable=1 -dxdebug.remote_handler=dbgp -dxdebug.remote_mode=req -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_port=9000 "C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\DEVSENSE\PHP TOOLS\phpunit-4.5.phar" -c "D:\CODE\_PHP_Production_code\Occurances\TESTS\phpUnit_Config_file.xml.tmp" --testsuite PhpTools_TestSuite
and version phpunit-4.5.phar seems to be hard coded -- the current version is 5.4.6
Thanks,
Mike
- merrettmi
- Posts: 1
- Joined: November 4th, 2015, 6:41 pm
Re: PHPUnit Tests
Hi,
Yes, integrated Test Explorer uses hardcoded PHP Unit distributed together with PHP Tools.
Since we have a PHPUnit plugin communicating back with Visual Studio, any change to PHP Unit version may result in a corrupted Test Explorer. We'll update bundled PHPUnit to latest version in the next PHP Tools udpate.
Thanks,
Jakub
Yes, integrated Test Explorer uses hardcoded PHP Unit distributed together with PHP Tools.
Since we have a PHPUnit plugin communicating back with Visual Studio, any change to PHP Unit version may result in a corrupted Test Explorer. We'll update bundled PHPUnit to latest version in the next PHP Tools udpate.
Thanks,
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: PHPUnit Tests
Hello together,
I want to ask if there are new news about a new version (5.7 / 6.0) of phpunit.
I see that there is a new version of phptools in preview. Is there an update included?
Thanks, Marcel
I want to ask if there are new news about a new version (5.7 / 6.0) of phpunit.
I see that there is a new version of phptools in preview. Is there an update included?
Thanks, Marcel
- Phrisox
- Posts: 1
- Joined: February 13th, 2017, 1:44 pm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 49 guests