News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
Running PHPUnit in Windows Azure
December 09, 2011 @ 10:08:47

Brian Swan has a recent post to his MSDN blog about setting up PHPUnit for testing on a Windows Azure platform (as installed via PEAR).

After figuring out how to run PHPUnit from the command line in a Windows Azure instance, I did find that a bit more configuration work than I anticipated was necessary. I'm not 100% certain that this is the best way to run PHPUnit in Windows Azure, but it is one way. I'd be interested in hearing better ways to do this.

He breaks it up into a few different steps:

  • Building the application with your tests locally
  • Package the application up for Azure deployment
  • Enable RDP access on your Azure instance
  • Find your PHP and PEAR install on your instance and, logged in via RDP, add their locations to your current path
  • Edit the phpunit.bat file to point to the right PHP location
  • Execute the tests!

For other options for testing Azure-based applications, see Brian's previous post.

0 comments voice your opinion now!
phpunit windows azure unittest rdp


blog comments powered by Disqus

Similar Posts

John Mertic's Blog: PHP Windows Installer 1 year old (almost)

Chris Hartjes' Blog: Zend_Application and Zend_Acl

Matthias Noback: A better PHP testing experience Part II: Pick your test doubles wisely

Greg Beaver's Blog: Code Coverage Reporting using PEAR, PEAR2, phar, and sqlite3

Genius Blog: Advanced PHPUnit: Annotations


Community Events





Don't see your event here?
Let us know!


zendserver language bugfix series introduction library api release threedevsandamaybe symfony deployment community podcast framework opinion developer tips list laravel interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework