<?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>Tue, 21 May 2013 19:17:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: How to Use Selenium 2 With PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/18604</guid>
      <link>http://www.phpdeveloper.org/news/18604</link>
      <description><![CDATA[<p>
NetTuts.com has continued their look at testing in PHP applications with <a href="http://net.tutsplus.com/tutorials/php/how-to-use-selenium-2-with-phpunit/">this new screencast</a> showing how to combine one of the most popular PHP unit testing tools, <a href="http://phpunit.de">PHPUnit</a>, with the <a href="http://seleniumhq.org/">Selenium</a> frontend testing tool for automated application testing.
</p>
<blockquote>
In this lesson, we will learn how to work with <a href="http://seleniumhq.org/">Selenium 2</a> directly within PHPUnit. For those unfamiliar, Selenium gives us an easy way to automate the browser. This makes it perfect for writing user acceptances tests.
</blockquote>
<p>
You can <a href="http://nettuts.s3.amazonaws.com/2134_PHPUnit_With_Selenium/seleniumTut.zip">download the source</a> for the files and tests that they use in the demo. You can find links to the other articles in their testing series <a href="http://net.tutsplus.com/sessions/test-driven-php/">here</a> (covering things like TDD, basic PHPUnit testing and definitions of some of the most common testing terms).
</p>]]></description>
      <pubDate>Mon, 15 Oct 2012 09:40:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Frost: Using Selenium2 with PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/18494</guid>
      <link>http://www.phpdeveloper.org/news/18494</link>
      <description><![CDATA[<p>
In <a href="http://shortwhitebaldguy.com/blog/2012/09/using-selenium2-with-phpunit">this new post</a> to his site <i>Matt Frost</i> continues his look at using Selenium to test his applications (see the first parts <a href="http://phpdeveloper.org/news/18404">here</a>) and shows how to use the Selenium extension for PHPUnit to run all his tests from one place.
</p>
<blockquote>
So I've taken it upon myself to do a bit of reading and messing around with the Selenium Extension for PHPUnit and I wanted to share a bit of what I learned. Looking around on the internet, I didn't find a whole lot of real good information on the Selenium2TestCase API so I want to provide a little bit of depth in some of those areas. I'm going to cover a few areas of interest and provide some code examples where relevant.
</blockquote>
<p>
He includes the steps to get things set up to connect with the Selenium server and some of the common functions you can use to interact with its browser. He shows how to select items and interact with things like forms and links. He also includes a recommendation of using the "url()" method to jump to a point in the app instead of clicking through the same paths over and over again.
</p>]]></description>
      <pubDate>Wed, 19 Sep 2012 11:44:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Project: Codeception Introduces ZombieJs and Selenium2 Support]]></title>
      <guid>http://www.phpdeveloper.org/news/18031</guid>
      <link>http://www.phpdeveloper.org/news/18031</link>
      <description><![CDATA[<p>
Codeception, the PHP BDD (behavior-driven development) testing tool has <a href="http://codeception.com/05-29-2012/zombies-and-more.html">announced some new features</a> including newly updated documentation and support for <a href="http://codeception.com/docs/modules/Selenium2">Selenium2</a> and <a href="http://codeception.com/docs/modules/ZombieJS">ZobmieJS</a>.
</p>
<blockquote>
Tools like ZombieJS, (PhantomJS, and more) are built in order to run tests without a browser. And so they are called headless. They don't require a browser window to start, they don't show any interactions on screen.
</blockquote>
<p>
They briefly mention the "delay" option that's been introduced to allow for manual delays to be put into your code. You can find out more about this testing tool from <a href="http://codeception.com/">its main project page</a> or by just jumping in and <a href="http://codeception.com/docs/01-Introduction">reading through the docs</a>. (You can also find the full code <a href="https://github.com/codeception/codeception">over on github</a>.)
</p>]]></description>
      <pubDate>Thu, 31 May 2012 12:13:49 -0500</pubDate>
    </item>
  </channel>
</rss>
