<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Database Testing with PHPUnit and MySQL</title> <atom:link href="http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/feed/" rel="self" type="application/rss+xml" /><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/</link> <description></description> <lastBuildDate>Fri, 11 May 2012 20:03:11 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Matthew Turland</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-4577</link> <dc:creator>Matthew Turland</dc:creator> <pubDate>Sat, 12 Jun 2010 15:59:20 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-4577</guid> <description>@Joaca To my knowledge, the only way to handle that would be to use a SELECT INTO OUTFILE query (or mysql -e &#039;SELECT&#039; &gt; dump.sql if you&#039;re accessing a remote server) to dump the result set to a CSV file and then use the PHPUnit class for CSV data sets. I don&#039;t believe any of the standard MySQL client utilities offer a way to dump a data set like that into the same XML format that mysqldump does for individual tables.If you wanted to use the XML data set class, you&#039;d need to write something to convert from CSV to that XML format. In fact, before I developed MySQL XML support for PHPUnit, I had written a PHP CLI script to convert from the MySQL XML format to the DBUnit format that PHPUnit did support at the time.</description> <content:encoded><![CDATA[<p>@Joaca To my knowledge, the only way to handle that would be to use a SELECT INTO OUTFILE query (or mysql -e &#8216;SELECT&#8217; > dump.sql if you&#8217;re accessing a remote server) to dump the result set to a CSV file and then use the PHPUnit class for CSV data sets. I don&#8217;t believe any of the standard MySQL client utilities offer a way to dump a data set like that into the same XML format that mysqldump does for individual tables.</p><p>If you wanted to use the XML data set class, you&#8217;d need to write something to convert from CSV to that XML format. In fact, before I developed MySQL XML support for PHPUnit, I had written a PHP CLI script to convert from the MySQL XML format to the DBUnit format that PHPUnit did support at the time.</p> ]]></content:encoded> </item> <item><title>By: Joaco</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-4562</link> <dc:creator>Joaco</dc:creator> <pubDate>Sat, 12 Jun 2010 05:27:22 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-4562</guid> <description>I find this all very interesting, but is it possible to test the results of a complex query, such as a select statement with multiple joins? It would be nice to be able to confirm that the logic used to generate a query is correct as well.</description> <content:encoded><![CDATA[<p>I find this all very interesting, but is it possible to test the results of a complex query, such as a select statement with multiple joins? It would be nice to be able to confirm that the logic used to generate a query is correct as well.</p> ]]></content:encoded> </item> <item><title>By: Matthew Turland</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-1516</link> <dc:creator>Matthew Turland</dc:creator> <pubDate>Thu, 18 Mar 2010 22:20:28 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-1516</guid> <description>I&#039;ve fixed the link. I&#039;d dropped the repository after my contribution was pulled in (under the same commit identifier) to Sebastian Bergmann&#039;s account and forgotten to fix the link here. Appreciate you letting me know, thanks!</description> <content:encoded><![CDATA[<p>I&#8217;ve fixed the link. I&#8217;d dropped the repository after my contribution was pulled in (under the same commit identifier) to Sebastian Bergmann&#8217;s account and forgotten to fix the link here. Appreciate you letting me know, thanks!</p> ]]></content:encoded> </item> <item><title>By: Murilo</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-1485</link> <dc:creator>Murilo</dc:creator> <pubDate>Wed, 17 Mar 2010 20:56:01 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-1485</guid> <description>Hi there,I&#039;m trying to get your modifications to phpunit at http://github.com/elazar/phpunit/commit/fad913fd84720f889e1d3415e775f68304e76f52But the link doesn&#039;t exist. This is a smart way to work and I want to use it.Cheers,Murilo</description> <content:encoded><![CDATA[<p>Hi there,</p><p>I&#8217;m trying to get your modifications to phpunit at <a
href="http://github.com/elazar/phpunit/commit/fad913fd84720f889e1d3415e775f68304e76f52" rel="nofollow">http://github.com/elazar/phpunit/commit/fad913fd84720f889e1d3415e775f68304e76f52</a></p><p>But the link doesn&#8217;t exist. This is a smart way to work and I want to use it.</p><p>Cheers,</p><p>Murilo</p> ]]></content:encoded> </item> <item><title>By: Lyle Ruller</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-45</link> <dc:creator>Lyle Ruller</dc:creator> <pubDate>Wed, 13 Jan 2010 05:44:23 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-45</guid> <description>Appreciate this. Very educational entry.</description> <content:encoded><![CDATA[<p>Appreciate this. Very educational entry.</p> ]]></content:encoded> </item> <item><title>By: vivanno.com::aggregator &#187; Archive &#187; Tester votre base de donnée MySQL avec PHPUnit</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-34</link> <dc:creator>vivanno.com::aggregator &#187; Archive &#187; Tester votre base de donnée MySQL avec PHPUnit</dc:creator> <pubDate>Wed, 06 Jan 2010 14:40:31 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-34</guid> <description>[...] &#160;Database Testing with PHPUnit and MySQL () [...]</description> <content:encoded><![CDATA[<p>[...] &nbsp;Database Testing with PHPUnit and MySQL () [...]</p> ]]></content:encoded> </item> <item><title>By: Tester votre base de donnée MySQL avec PHPUnit &#124; traffic-internet.net</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-32</link> <dc:creator>Tester votre base de donnée MySQL avec PHPUnit &#124; traffic-internet.net</dc:creator> <pubDate>Wed, 06 Jan 2010 13:23:52 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-32</guid> <description>[...] &#160;Database Testing with PHPUnit and MySQL (0 visite) [...]</description> <content:encoded><![CDATA[<p>[...] &nbsp;Database Testing with PHPUnit and MySQL (0 visite) [...]</p> ]]></content:encoded> </item> <item><title>By: Matthew Turland&#8217;s Blog: Database Testing with PHPUnit and MySQL &#124; Webs Developer</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-23</link> <dc:creator>Matthew Turland&#8217;s Blog: Database Testing with PHPUnit and MySQL &#124; Webs Developer</dc:creator> <pubDate>Tue, 05 Jan 2010 21:01:08 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-23</guid> <description>[...] a new post to his blog Matthew Turland looks at a contribution he recently made to the PHPunit project to help [...]</description> <content:encoded><![CDATA[<p>[...] a new post to his blog Matthew Turland looks at a contribution he recently made to the PHPunit project to help [...]</p> ]]></content:encoded> </item> <item><title>By: Matthew Turland&#8217;s Blog: Database Testing with PHPUnit and MySQL &#124; Development Blog With Code Updates : Developercast.com</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-22</link> <dc:creator>Matthew Turland&#8217;s Blog: Database Testing with PHPUnit and MySQL &#124; Development Blog With Code Updates : Developercast.com</dc:creator> <pubDate>Tue, 05 Jan 2010 20:18:00 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-22</guid> <description>[...] a new post to his blog Matthew Turland looks at a contribution he recently made to the PHPunit project to help [...]</description> <content:encoded><![CDATA[<p>[...] a new post to his blog Matthew Turland looks at a contribution he recently made to the PHPunit project to help [...]</p> ]]></content:encoded> </item> <item><title>By: abcphp.com</title><link>http://matthewturland.com/2010/01/04/database-testing-with-phpunit-and-mysql/comment-page-1/#comment-19</link> <dc:creator>abcphp.com</dc:creator> <pubDate>Tue, 05 Jan 2010 05:11:07 +0000</pubDate> <guid
isPermaLink="false">http://matthewturland.com/?p=49#comment-19</guid> <description>&lt;strong&gt;Database Testing with PHPUnit and MySQL » Matthew Turland...&lt;/strong&gt;I recently made a contribution to the PHPUnit project that I thought I’d take a blog post to discuss. One of the extensions bundled with PHPUnit adds support for database testing. This extension was contributed by Mike Lively and is a port of the DbUni...</description> <content:encoded><![CDATA[<p><strong>Database Testing with PHPUnit and MySQL » Matthew Turland&#8230;</strong></p><p>I recently made a contribution to the PHPUnit project that I thought I’d take a blog post to discuss. One of the extensions bundled with PHPUnit adds support for database testing. This extension was contributed by Mike Lively and is a port of the DbUni&#8230;</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using disk: enhanced
Database Caching 7/19 queries in 0.014 seconds using apc

Served from: matthewturland.com @ 2012-05-21 15:50:10 -->
