<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 11:55:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Brian Swan's Blog: Running PHPUnit in Windows Azure]]></title>
      <guid>http://www.phpdeveloper.org/news/17236</guid>
      <link>http://www.phpdeveloper.org/news/17236</link>
      <description><![CDATA[<p>
<i>Brian Swan</i> has a recent post to his MSDN blog about <a href="http://blogs.msdn.com/b/silverlining/archive/2011/12/07/running-phpunit-in-windows-azure.aspx">setting up PHPUnit for testing</a> on a Windows Azure platform (as installed via PEAR).
</p>
<blockquote>
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.
</blockquote>
<p>He breaks it up into a few different steps:</p>
<ul>
<li>Building the application with your tests locally
<li>Package the application up for Azure deployment
<li>Enable RDP access on your Azure instance
<li>Find your PHP and PEAR install on your instance and, logged in via RDP, add their locations to your current path
<li>Edit the phpunit.bat file to point to the right PHP location
<li>Execute the tests!
</ul>
<p>
For other options for testing Azure-based applications, see <a href="http://blogs.msdn.com/b/silverlining/archive/2011/12/05/thoughts-on-testing-oss-applications-in-windows-azure.aspx">Brian's previous post</a>.
</p>]]></description>
      <pubDate>Fri, 09 Dec 2011 10:08:47 -0600</pubDate>
    </item>
  </channel>
</rss>
