<?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 11:51:09 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mike Lively's Blog: YAML Now Supported by PHPUnit Database Extension]]></title>
      <guid>http://www.phpdeveloper.org/news/11853</guid>
      <link>http://www.phpdeveloper.org/news/11853</link>
      <description><![CDATA[<p>
<i>Mike Lively</i> <a href="http://www.ds-o.com/archives/79-YAML-Now-Supported-by-PHPUnit-Database-Extension.html">has posted</a> about a new bit of support that the <a href="http://phpunit.de">PHPUnit</a> unit testing software for PHP has just gotten - YAML data set parsing.
</p>
<blockquote>
I have now just committed <a href="http://www.ds-o.com/exit.php?url_id=246&entry_id=79">YAML</a> data sets to the Database Extension for <a href="http://www.ds-o.com/exit.php?url_id=247&entry_id=79">PHPUnit</a>. So now all those that love the simplicity and straightforwardness of YAML can use it with your data sets. I have also created a persistor for YAML datasets so you can easily convert existing data sets or database data into YAML representations.
</blockquote>
<p>
He includes an example of a bit of YAML markup and one of the major hurdles he had to overcome - trailing line breaks (as shown in the table_2/column 8 in the example). This functionality also includes a persistor that lets you convert things back the other day - current data set to YAML markup. You can find out more about data sets in PHPUnit in <a href="http://www.phpunit.de/manual/current/en/database.html#database.datasets">this section</a> of the project's manual.
</p>]]></description>
      <pubDate>Mon, 02 Feb 2009 07:52:31 -0600</pubDate>
    </item>
  </channel>
</rss>
