<?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 23:09:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Debuggable Blog: How to Group By in CakePHP's new release Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/10427</guid>
      <link>http://www.phpdeveloper.org/news/10427</link>
      <description><![CDATA[<p>
In <a href="http://www.debuggable.com/posts/how-to-group-by-in-cakephp's-new-release-part-2:4850d2c9-edbc-4f0e-9e0e-07d64834cda3">this new post</a> to the Debuggable blog, <i>Tim Koschutki</i> points out the method for using grouping in your CakePHP application's queries (specifically in the new Release 2).
</p>
<blockquote>
Having promised it in <a href="http://debuggable.com/posts/how-to-do-group-by-conditions-in-model-find()-calls:483fdc1c-8454-4593-a55e-37244834cda3">the first post on how to do Group By in CakePHP</a> I worked on an array() version for the group statement in Model::find() calls. So I implemented it. 
</blockquote>
<p>
His <a href="http://www.debuggable.com/posts/how-to-group-by-in-cakephp's-new-release-part-2:4850d2c9-edbc-4f0e-9e0e-07d64834cda3">code</a> shows the calls to find() the grouped information and accompanying unit test assertEquals calls to check that the results are correct. His examples show a few different ways to accomplish the same thing.
</p>]]></description>
      <pubDate>Tue, 17 Jun 2008 10:21:44 -0500</pubDate>
    </item>
    <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>
  </channel>
</rss>
