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

Brian Swan's Blog:
Running VisualPHPUnit in Windows Azure
Jan 11, 2012 @ 10:25:43

Brian Swan has posted another in his "unit testing on Azure" posts to his blog today. This time he shows how to get VisualPHPUnit running on your Windows Azure installed code.

Last month, I wrote a post that outlined 3 ways to test PHP applications in Windows Azure, and since then I’ve covered two of those approaches: Running PHPUnit in Windows Azure (uses RDP) and Automating PHPUnit Tests in Windows Azure. In this post I’ll cover how to use a web-front end (VisualPHPUnit specifically) to run tests in Azure.

The process is really simple - it's basically three steps (after the VisualPHPUnit install):

  • Edit the configuration file to point to the right tests directory
  • Password protect the VisualPHPUnit directory
  • Deploy your application by following the instructions here
tagged: unittest visualphpunit phpunit windows azure tests