<?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"
	>
<channel>
	<title>Comments on: Version 1.6.0 of the innotop monitor for MySQL released</title>
	<atom:link href="http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/</link>
	<description>Stay curious!</description>
	<pubDate>Tue, 06 Jan 2009 07:13:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Alexey Kovyrin</title>
		<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13674</link>
		<dc:creator>Alexey Kovyrin</dc:creator>
		<pubDate>Sun, 11 Nov 2007 04:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13674</guid>
		<description>Thanks for your really detailed comments and especially for an example.</description>
		<content:encoded><![CDATA[<p>Thanks for your really detailed comments and especially for an example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13672</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Sat, 10 Nov 2007 23:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13672</guid>
		<description>Hi Alexey,

It's not always easy to test interactive scripts.  I have very little of innotop tested.  I wrote the InnoDB parser with tests, but the rest of it is basically untested.  I regret this decision.

The basic way to test everything is to put it into a module and use the Test::More module, which is part of standard Perl distributions.  I have sometimes taken the approach of embedding modules into scripts to make them "runnable modules" that can still be tested.  You can see an example of that here:

http://mysqltoolkit.svn.sourceforge.net/viewvc/mysqltoolkit/trunk/mysql-log-parser/

You usually create a t/ subdirectory and place .t files in it, then you can either run them with perl or just enter that directory and type 'prove' to run them all.

One of my goals for innotop in the future is to extract a lot of the code, and put it into modules and test it.  Some of the interactive stuff is hard to test, as I said, but a lot of it is easy, like the code that formats things to print out as tables.</description>
		<content:encoded><![CDATA[<p>Hi Alexey,</p>
<p>It&#8217;s not always easy to test interactive scripts.  I have very little of innotop tested.  I wrote the InnoDB parser with tests, but the rest of it is basically untested.  I regret this decision.</p>
<p>The basic way to test everything is to put it into a module and use the Test::More module, which is part of standard Perl distributions.  I have sometimes taken the approach of embedding modules into scripts to make them &#8220;runnable modules&#8221; that can still be tested.  You can see an example of that here:</p>
<p><a href="http://mysqltoolkit.svn.sourceforge.net/viewvc/mysqltoolkit/trunk/mysql-log-parser/" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/comment/mysqltoolkit.svn.sourceforge.net');">http://mysqltoolkit.svn.sourceforge.net/viewvc/mysqltoolkit/trunk/mysql-log-parser/</a></p>
<p>You usually create a t/ subdirectory and place .t files in it, then you can either run them with perl or just enter that directory and type &#8216;prove&#8217; to run them all.</p>
<p>One of my goals for innotop in the future is to extract a lot of the code, and put it into modules and test it.  Some of the interactive stuff is hard to test, as I said, but a lot of it is easy, like the code that formats things to print out as tables.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey Kovyrin</title>
		<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13671</link>
		<dc:creator>Alexey Kovyrin</dc:creator>
		<pubDate>Sat, 10 Nov 2007 23:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13671</guid>
		<description>Hi, Baron,

I'd like to ask, how do you perform a tests on your perl code? I'm going to cover MMM with a test suite, but not sure what approach (and modules, etc) to choose. After a year with Ruby and its awesome testing frameworks I simply don't know how to deal with perl's crappy situation with testing :-/</description>
		<content:encoded><![CDATA[<p>Hi, Baron,</p>
<p>I&#8217;d like to ask, how do you perform a tests on your perl code? I&#8217;m going to cover MMM with a test suite, but not sure what approach (and modules, etc) to choose. After a year with Ruby and its awesome testing frameworks I simply don&#8217;t know how to deal with perl&#8217;s crappy situation with testing :-/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dormando</title>
		<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13668</link>
		<dc:creator>Dormando</dc:creator>
		<pubDate>Sat, 10 Nov 2007 04:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13668</guid>
		<description>Done, sent two to sourceforge. Thank you!</description>
		<content:encoded><![CDATA[<p>Done, sent two to sourceforge. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13666</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Fri, 09 Nov 2007 22:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2007/11/09/version-160-of-the-innotop-monitor-for-mysql-released/#comment-13666</guid>
		<description>Would you mind submitting bug requests?  I'll forget otherwise :)

Thanks!</description>
		<content:encoded><![CDATA[<p>Would you mind submitting bug requests?  I&#8217;ll forget otherwise :)</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
