<?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>Sun, 26 May 2013 03:14:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Data Providers in PHPUnit 3.2]]></title>
      <guid>http://www.phpdeveloper.org/news/8839</guid>
      <link>http://www.phpdeveloper.org/news/8839</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/702-Data-Providers-in-PHPUnit-3.2.html">pointed out</a> a new offering that PHPUnit will have starting with version 3.2 - <a href="http://testng.org/">TestNG</a>-style data parameters.
</p>
<p>
He includes a test case example that sets up a test method (dataProvider) that checks the input against the assert to ensure that it matches - in those case, that it matches an integer value.
</p>
<blockquote>
The method specified by the @dataProvider annotation returns an array or an Iterator object that contain argument arrays. For each of these arrays a test object is created that will run the test method with the argument from the array.
</blockquote>
<p>
As test run of the instance is also included.
</p>]]></description>
      <pubDate>Mon, 15 Oct 2007 09:36:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: TestNG-style Grouping of Tests]]></title>
      <guid>http://www.phpdeveloper.org/news/8581</guid>
      <link>http://www.phpdeveloper.org/news/8581</link>
      <description><![CDATA[<p>
<i>Sebastian Bergmann</i> <a href="http://sebastian-bergmann.de/archives/697-TestNG-style-Grouping-of-Tests.html">demonstrates another feature</a> of the popular <a href="http://www.phpunit.de">PHPUnit</a> unit testing software in  new post to his blog, specifically the TestNG-style of test.
</p>
<blockquote>
Starting with version 3.2, <a href="http://www.phpunit.de/">PHPUnit</a> has support for <a href="http://testng.org/">TestNG</a>-style @grouping of tests.
</blockquote>
<p>
He <a href="http://sebastian-bergmann.de/archives/697-TestNG-style-Grouping-of-Tests.html">includes an example</a> of the style, a test case that, through the command line testing tool, can be called in portions depending on the need.
</p>]]></description>
      <pubDate>Tue, 04 Sep 2007 08:12:00 -0500</pubDate>
    </item>
  </channel>
</rss>
