<?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: What are your favorite nose plugins? How do you run Nose?</title>
	<atom:link href="http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/feed/" rel="self" type="application/rss+xml" />
	<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/</link>
	<description>python, programming and other things</description>
	<lastBuildDate>Thu, 11 Feb 2010 00:42:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sex toys</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-64294</link>
		<dc:creator>sex toys</dc:creator>
		<pubDate>Fri, 06 Feb 2009 06:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-64294</guid>
		<description>thanks!</description>
		<content:encoded><![CDATA[<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: programmer.py</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62255</link>
		<dc:creator>programmer.py</dc:creator>
		<pubDate>Tue, 13 May 2008 19:31:04 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62255</guid>
		<description>I don&#039;t know if it&#039;s considered a plugin, but using --with-coverage and --cover-package (you&#039;ll need the coverage module), is great for finding gaps in testing.</description>
		<content:encoded><![CDATA[<p>I don&#39;t know if it&#39;s considered a plugin, but using &#8211;with-coverage and &#8211;cover-package (you&#39;ll need the coverage module), is great for finding gaps in testing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waltercruz</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62254</link>
		<dc:creator>waltercruz</dc:creator>
		<pubDate>Tue, 13 May 2008 19:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62254</guid>
		<description>Well, I have a little plugin not yet published, nose-notify. It uses the gnome notify system, but can be implemented with growl on Macintosh.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.assembla.com/wiki/show/nose_notify&quot; rel=&quot;nofollow&quot;&gt;http://www.assembla.com/wiki/show/nose_notify&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Well, I have a little plugin not yet published, nose-notify. It uses the gnome notify system, but can be implemented with growl on Macintosh.</p>
<p><a href="http://www.assembla.com/wiki/show/nose_notify" rel="nofollow">http://www.assembla.com/wiki/show/nose_notify</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62253</link>
		<dc:creator>will</dc:creator>
		<pubDate>Tue, 13 May 2008 17:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62253</guid>
		<description>I used the spec plugin that comes with Pinocchio.  At a minimum, it pushes me to write tests that focus on &quot;invariants&quot; of the things being tested.</description>
		<content:encoded><![CDATA[<p>I used the spec plugin that comes with Pinocchio.  At a minimum, it pushes me to write tests that focus on &#8220;invariants&#8221; of the things being tested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kumar McMillan</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62252</link>
		<dc:creator>Kumar McMillan</dc:creator>
		<pubDate>Tue, 13 May 2008 17:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62252</guid>
		<description>I recently discovered the builtin plugin --with-id and can&#039;t believe I ever lived without it.  When it&#039;s enabled you get numbered tests so you can re-run individual ones by saying `nosetests 23 45` instead of typing out long path names.&lt;br&gt;&lt;br&gt;I also miss nosetty, a plugin I wrote a while ago for 0.9 but have yet to port it to 0.10.  Quite a lot has changed in stream handling and I started the migration but didn&#039;t finish.  It was nice because it let you launch an editor at the exact spot in a traceback, especially nice if you need to apply a quick, experimental patch to a system egg.&lt;br&gt;&lt;br&gt;I also use NoseGAE for testing Google App Engine webapps in-process: &lt;a href=&quot;http://code.google.com/p/nose-gae/&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/nose-gae/&lt;/a&gt;&lt;br&gt;&lt;br&gt;btw, the official (unofficial?) list of all nose plugins is here: &lt;a href=&quot;http://nose-plugins.jottit.com/&quot; rel=&quot;nofollow&quot;&gt;http://nose-plugins.jottit.com/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I recently discovered the builtin plugin &#8211;with-id and can&#39;t believe I ever lived without it.  When it&#39;s enabled you get numbered tests so you can re-run individual ones by saying `nosetests 23 45` instead of typing out long path names.</p>
<p>I also miss nosetty, a plugin I wrote a while ago for 0.9 but have yet to port it to 0.10.  Quite a lot has changed in stream handling and I started the migration but didn&#39;t finish.  It was nice because it let you launch an editor at the exact spot in a traceback, especially nice if you need to apply a quick, experimental patch to a system egg.</p>
<p>I also use NoseGAE for testing Google App Engine webapps in-process: <a href="http://code.google.com/p/nose-gae/" rel="nofollow">http://code.google.com/p/nose-gae/</a></p>
<p>btw, the official (unofficial?) list of all nose plugins is here: <a href="http://nose-plugins.jottit.com/" rel="nofollow">http://nose-plugins.jottit.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terry Peppers</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62251</link>
		<dc:creator>Terry Peppers</dc:creator>
		<pubDate>Tue, 13 May 2008 15:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62251</guid>
		<description>Man, where do I start? Since my team uses it mainly for testing web interfaces - here&#039;s some things:&lt;br&gt;&lt;br&gt;Test generators are pretty key us. The same feature is in py.test - we use that feature of nose constantly on our team here @ work. &lt;br&gt;&lt;br&gt;The plugin architecture has also allowed us to be more flexible in what we can pass to our functional tests. We build custom plugins to allow more flexible test collection and execution. &lt;br&gt;&lt;br&gt;The underlying system of test collection is what has always attracted me. nose, in general, allows me to very quickly put together a suite of tests without have to deal with UnitTest boilerplate.</description>
		<content:encoded><![CDATA[<p>Man, where do I start? Since my team uses it mainly for testing web interfaces &#8211; here&#39;s some things:</p>
<p>Test generators are pretty key us. The same feature is in py.test &#8211; we use that feature of nose constantly on our team here @ work. </p>
<p>The plugin architecture has also allowed us to be more flexible in what we can pass to our functional tests. We build custom plugins to allow more flexible test collection and execution. </p>
<p>The underlying system of test collection is what has always attracted me. nose, in general, allows me to very quickly put together a suite of tests without have to deal with UnitTest boilerplate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62250</link>
		<dc:creator>Stan</dc:creator>
		<pubDate>Tue, 13 May 2008 15:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62250</guid>
		<description>Well, all of the indenting was lost, but you get the idea.</description>
		<content:encoded><![CDATA[<p>Well, all of the indenting was lost, but you get the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stan</title>
		<link>http://jessenoller.com/2008/05/13/what-are-your-favorite-nose-plugins-how-do-you-run-nose/comment-page-1/#comment-62249</link>
		<dc:creator>Stan</dc:creator>
		<pubDate>Tue, 13 May 2008 14:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://jessenoller.com/?p=263#comment-62249</guid>
		<description>--pdb-failures is extremely useful for introspecting objects right when a unit test fails.  Usually I can figure out what went wrong pretty quick thanks to this.&lt;br&gt;&lt;br&gt;I also use nose to drive twill-based website unit tests:&lt;br&gt;(not sure how well this will paste)&lt;br&gt;&lt;br&gt;# test.py&lt;br&gt;import twill, glob&lt;br&gt;from StringIO import StringIO&lt;br&gt;from nose import with_setup&lt;br&gt;&lt;br&gt;def setup():&lt;br&gt;    outp = StringIO()&lt;br&gt;    twill.set_output(outp)&lt;br&gt;&lt;br&gt;def run_twill(twill_file):&lt;br&gt;    script = file(twill_file).read()&lt;br&gt;    twill.execute_string(&#039;reset_browser&#039;)&lt;br&gt;    twill.execute_string(script)&lt;br&gt;&lt;br&gt;@with_setup(setup)&lt;br&gt;def test_twill():&lt;br&gt;    for filename in glob.glob(&#039;*.twill&#039;):&lt;br&gt;        yield run_twill, filename&lt;br&gt;### EOF&lt;br&gt;&lt;br&gt;Now you can put all of your website tests into .twill files in the current directory.  I suppose this could be made into a nose plugin...</description>
		<content:encoded><![CDATA[<p>&#8211;pdb-failures is extremely useful for introspecting objects right when a unit test fails.  Usually I can figure out what went wrong pretty quick thanks to this.</p>
<p>I also use nose to drive twill-based website unit tests:<br />(not sure how well this will paste)</p>
<p># test.py<br />import twill, glob<br />from StringIO import StringIO<br />from nose import with_setup</p>
<p>def setup():<br />    outp = StringIO()<br />    twill.set_output(outp)</p>
<p>def run_twill(twill_file):<br />    script = file(twill_file).read()<br />    twill.execute_string(&#39;reset_browser&#39;)<br />    twill.execute_string(script)</p>
<p>@with_setup(setup)<br />def test_twill():<br />    for filename in glob.glob(&#39;*.twill&#39;):<br />        yield run_twill, filename<br />### EOF</p>
<p>Now you can put all of your website tests into .twill files in the current directory.  I suppose this could be made into a nose plugin&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
