<?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: Windmill Reporting</title>
	<atom:link href="http://www.mikealrogers.com/archives/46/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mikealrogers.com/archives/46</link>
	<description></description>
	<pubDate>Sat, 04 Jul 2009 05:29:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mikeal</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-110</link>
		<dc:creator>mikeal</dc:creator>
		<pubDate>Mon, 29 Dec 2008 20:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-110</guid>
		<description>&lt;p&gt;So functest (the framework that windmill embeds) traverses up all your test modules. Any directory with &lt;strong&gt;init&lt;/strong&gt;.py is a valid test module. You can use the directory/module hierarchy to separate out different test functionality. If you're writing a reporter class you probably want it to work with all your tests so you would want to stick it at the top of the module hierarchy.&lt;/p&gt;

&lt;p&gt;But regardless of where you put the class, if it's in a test module that gets run it will be registered when the module is loaded. So if you put it in the folder your test is in, it should work, if not then something is wrong.&lt;/p&gt;

&lt;p&gt;If something seems very off you can come on to IRC in #windmill on irc.freenode.net and someone should be around to help you debug it. Although right now during the holidays people seem to have been away a bit more.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So functest (the framework that windmill embeds) traverses up all your test modules. Any directory with <strong>init</strong>.py is a valid test module. You can use the directory/module hierarchy to separate out different test functionality. If you&#8217;re writing a reporter class you probably want it to work with all your tests so you would want to stick it at the top of the module hierarchy.</p>

<p>But regardless of where you put the class, if it&#8217;s in a test module that gets run it will be registered when the module is loaded. So if you put it in the folder your test is in, it should work, if not then something is wrong.</p>

<p>If something seems very off you can come on to IRC in #windmill on irc.freenode.net and someone should be around to help you debug it. Although right now during the holidays people seem to have been away a bit more.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: cyril</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-109</link>
		<dc:creator>cyril</dc:creator>
		<pubDate>Mon, 29 Dec 2008 20:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-109</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I am not fluent at all in python so I don t know where I should put this &lt;strong&gt;init&lt;/strong&gt;.py&lt;/p&gt;

&lt;p&gt;I try putting it in the same folder than my test but it did not work.&lt;/p&gt;

&lt;p&gt;The response is probably here "you add a simple class to the highest level &lt;strong&gt;init&lt;/strong&gt;.py with your report code" but I don t understand the meaning of this sentence.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>

<p>I am not fluent at all in python so I don t know where I should put this <strong>init</strong>.py</p>

<p>I try putting it in the same folder than my test but it did not work.</p>

<p>The response is probably here &#8220;you add a simple class to the highest level <strong>init</strong>.py with your report code&#8221; but I don t understand the meaning of this sentence.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Zero to Continuous Integration with Windmill &#124; Windmill Testing Framework</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-10</link>
		<dc:creator>Zero to Continuous Integration with Windmill &#124; Windmill Testing Framework</dc:creator>
		<pubDate>Fri, 19 Sep 2008 09:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-10</guid>
		<description>&lt;p&gt;[...] You can also read a great entry about adding reporting to your tests on Mikeal Rogers blog, here. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] You can also read a great entry about adding reporting to your tests on Mikeal Rogers blog, here. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Zero to Continuous Integration with Windmill &#124; Adam Christian</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-9</link>
		<dc:creator>Zero to Continuous Integration with Windmill &#124; Adam Christian</dc:creator>
		<pubDate>Fri, 19 Sep 2008 06:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-9</guid>
		<description>&lt;p&gt;[...] You can also read a great entry about adding reporting to your tests on Mikeal Rogers blog, here. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] You can also read a great entry about adding reporting to your tests on Mikeal Rogers blog, here. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JUnit Compatible Reporting for Windmill &#124; Windmill Testing Framework</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-7</link>
		<dc:creator>JUnit Compatible Reporting for Windmill &#124; Windmill Testing Framework</dc:creator>
		<pubDate>Fri, 12 Sep 2008 23:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-7</guid>
		<description>&lt;p&gt;[...] from functest import reports from datetime import datetime class JUnitReport(reports.FunctestReportInterface): def summary(self, test_list, totals_dict, stdout_capture): total_sec = 0 for entry in test_list: time_delta = entry.endtime - entry.starttime total_sec += time_delta.seconds out = 'n' out += 'n' for entry in test_list: if entry.result is not True: entry_time = entry.endtime - entry.starttime out += 'n' out += 'n' #out += str(stdout_capture) #until I can figure out how to get the traceback out += 'There was an error in '+ entry.&lt;strong&gt;name&lt;/strong&gt; out += 'nn' out += '' else: entry_time = entry.endtime - entry.starttime out += 'n' out += 'nn' out += '' f=open('continuous_test.log','w') f.write(out); f.close() reports.register_reporter(JUnitReport()) Happy automating! UPDATE: Mikeal has posted some additions/revisions to this code sample, here. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] from functest import reports from datetime import datetime class JUnitReport(reports.FunctestReportInterface): def summary(self, test_list, totals_dict, stdout_capture): total_sec = 0 for entry in test_list: time_delta = entry.endtime - entry.starttime total_sec += time_delta.seconds out = &#8216;n&#8217; out += &#8216;n&#8217; for entry in test_list: if entry.result is not True: entry_time = entry.endtime - entry.starttime out += &#8216;n&#8217; out += &#8216;n&#8217; #out += str(stdout_capture) #until I can figure out how to get the traceback out += &#8216;There was an error in &#8216;+ entry.<strong>name</strong> out += &#8216;nn&#8217; out += &#8221; else: entry_time = entry.endtime - entry.starttime out += &#8216;n&#8217; out += &#8216;nn&#8217; out += &#8221; f=open(&#8217;continuous_test.log&#8217;,'w&#8217;) f.write(out); f.close() reports.register_reporter(JUnitReport()) Happy automating! UPDATE: Mikeal has posted some additions/revisions to this code sample, here. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Windmill Reporting &#124; Windmill Testing Framework</title>
		<link>http://www.mikealrogers.com/archives/46/comment-page-1#comment-6</link>
		<dc:creator>Windmill Reporting &#124; Windmill Testing Framework</dc:creator>
		<pubDate>Fri, 12 Sep 2008 23:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikealrogers.com/?p=46#comment-6</guid>
		<description>&lt;p&gt;[...] UPDATE: Mikeal has posted some additions/revisions to this code sample, here. [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] UPDATE: Mikeal has posted some additions/revisions to this code sample, here. [...]</p>]]></content:encoded>
	</item>
</channel>
</rss>
