<?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 for Inforbiomatica</title>
	<atom:link href="http://www.moseshohman.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moseshohman.com/blog</link>
	<description>software development, informatics, etc.</description>
	<lastBuildDate>Tue, 17 Feb 2009 20:00:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Pair programming and microarrays by Abhishek Tiwari</title>
		<link>http://www.moseshohman.com/blog/2008/07/09/pair-microarrays/comment-page-1/#comment-2390</link>
		<dc:creator>Abhishek Tiwari</dc:creator>
		<pubDate>Tue, 17 Feb 2009 20:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/?p=59#comment-2390</guid>
		<description>&lt;p&gt;recently there was a publication about how it is difficult to reproduce microarray experiments, mostly because the experimental conditions are not annotated properly, but I guess when more eyes will work together it can be improved. between nice blog, one more in my list
http://www.abhishek-tiwari.com/2009/02/30-blogs-about-bioinformatics-and.html&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>recently there was a publication about how it is difficult to reproduce microarray experiments, mostly because the experimental conditions are not annotated properly, but I guess when more eyes will work together it can be improved. between nice blog, one more in my list
<a href="http://www.abhishek-tiwari.com/2009/02/30-blogs-about-bioinformatics-and.html" rel="nofollow">http://www.abhishek-tiwari.com/2009/02/30-blogs-about-bioinformatics-and.html</a></p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chained Selenium RSpec examples by Moses</title>
		<link>http://www.moseshohman.com/blog/2007/08/08/chained-selenium-rspec-examples/comment-page-1/#comment-2389</link>
		<dc:creator>Moses</dc:creator>
		<pubDate>Sat, 14 Feb 2009 02:36:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2007/08/08/50#comment-2389</guid>
		<description>&lt;p&gt;Thanks for your comment. We chain in order of appearance, nothing special needs to be done for that to happen.&lt;/p&gt;

&lt;p&gt;Also, we haven&#039;t looked a cucumber much yet. We have existing infrastructure that we&#039;d like to restructure sometime, but for now it works pretty well, especially the code for the actual tests. For our team, I am not that excited about plain text tests. Developers write all of our selenium specs right now. If some day that changes, then we&#039;ll probably get more motivated to look into cucumber.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for your comment. We chain in order of appearance, nothing special needs to be done for that to happen.</p>

<p>Also, we haven&#8217;t looked a cucumber much yet. We have existing infrastructure that we&#8217;d like to restructure sometime, but for now it works pretty well, especially the code for the actual tests. For our team, I am not that excited about plain text tests. Developers write all of our selenium specs right now. If some day that changes, then we&#8217;ll probably get more motivated to look into cucumber.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Too many mock objects == ruby refactoring death by Moses</title>
		<link>http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/comment-page-1/#comment-2388</link>
		<dc:creator>Moses</dc:creator>
		<pubDate>Sat, 14 Feb 2009 02:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/#comment-2388</guid>
		<description>&lt;p&gt;Test granularity: definitely not too coarse : )&lt;/p&gt;

&lt;p&gt;When we first started testing, we were bitten by the &quot;add a fixture and a bunch of random tests break&quot; phenomenon a few times. That was one of our motivations to move heavily into using mock-based testing. After mock-based testing bit us also, we eventually converged on the following approach to test data: use fixtures for things that are really basic and fundamental, and therefore won&#039;t need to be added to often; use the ObjectMother pattern (which goes by many other names, basically a test data factory) for one-off objects with specific states needed by your tests; use mocks when test data setup is just too arduous, or if needed for performance or some kind of external dependency.&lt;/p&gt;

&lt;p&gt;Thanks for your comment!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Test granularity: definitely not too coarse : )</p>

<p>When we first started testing, we were bitten by the &#8220;add a fixture and a bunch of random tests break&#8221; phenomenon a few times. That was one of our motivations to move heavily into using mock-based testing. After mock-based testing bit us also, we eventually converged on the following approach to test data: use fixtures for things that are really basic and fundamental, and therefore won&#8217;t need to be added to often; use the ObjectMother pattern (which goes by many other names, basically a test data factory) for one-off objects with specific states needed by your tests; use mocks when test data setup is just too arduous, or if needed for performance or some kind of external dependency.</p>

<p>Thanks for your comment!</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Developer testing is not primarily about design by Wolfram Arnold</title>
		<link>http://www.moseshohman.com/blog/2007/07/27/developer-testing-is-not-primarily-about-design/comment-page-1/#comment-2387</link>
		<dc:creator>Wolfram Arnold</dc:creator>
		<pubDate>Sat, 14 Feb 2009 00:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2007/07/27/48#comment-2387</guid>
		<description>&lt;p&gt;And there is one more effect I would add:  By adopting a test-first process, you&#039;re frontloading all the questions and uncertainties and miscommunications.  If the developer can&#039;t formulate a concise test, chances are they&#039;re not fully clear about the requirements.  It&#039;s better to flush this out at the beginning when it&#039;s cheap to fix, than implement something that&#039;s off-spec and let QA (if you still have it) or, worst (because most expensive) the customer find it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>And there is one more effect I would add:  By adopting a test-first process, you&#8217;re frontloading all the questions and uncertainties and miscommunications.  If the developer can&#8217;t formulate a concise test, chances are they&#8217;re not fully clear about the requirements.  It&#8217;s better to flush this out at the beginning when it&#8217;s cheap to fix, than implement something that&#8217;s off-spec and let QA (if you still have it) or, worst (because most expensive) the customer find it.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Chained Selenium RSpec examples by Wolfram Arnold</title>
		<link>http://www.moseshohman.com/blog/2007/08/08/chained-selenium-rspec-examples/comment-page-1/#comment-2386</link>
		<dc:creator>Wolfram Arnold</dc:creator>
		<pubDate>Sat, 14 Feb 2009 00:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2007/08/08/50#comment-2386</guid>
		<description>&lt;p&gt;This is an interesting idea, the chaining of examples.  I&#039;ve run into this before--the desire to walk through an entire workflow and it creates monster tests.  Are you chaining in order of appearance, or do you have to name methods such that their alphabetical order is the order of execution you want?&lt;/p&gt;

&lt;p&gt;A note on your last comment: Have you looked at Cucumber for integration testing?  The rspec.info site now explicitly recommends it.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is an interesting idea, the chaining of examples.  I&#8217;ve run into this before&#8211;the desire to walk through an entire workflow and it creates monster tests.  Are you chaining in order of appearance, or do you have to name methods such that their alphabetical order is the order of execution you want?</p>

<p>A note on your last comment: Have you looked at Cucumber for integration testing?  The rspec.info site now explicitly recommends it.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Too many mock objects == ruby refactoring death by Wolfram Arnold</title>
		<link>http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/comment-page-1/#comment-2385</link>
		<dc:creator>Wolfram Arnold</dc:creator>
		<pubDate>Sat, 14 Feb 2009 00:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/#comment-2385</guid>
		<description>&lt;p&gt;Hehe, it&#039;s a long running debate.  Mocks vs. fixtures.  Rspec brought many advantages that I like, such as being able to test views and helpers and controllers all independently of each other.  Oftentimes with the right granularity you can make those tests pretty lean and mean.&lt;/p&gt;

&lt;p&gt;Having said this, mocks are no end-all be-all as some of the fervent proponents have you believe.  Mocking association proxies are a pain, for example.  I&#039;ve not yet heard a good answer to this.&lt;/p&gt;

&lt;p&gt;Some projects out there are trying to centralize the mocks, these may be worth a look.&lt;/p&gt;

&lt;p&gt;On a wider perspective, though, I&#039;ve observed a very similar problem to what you&#039;re describing--you make one implementation or API change--and all hell breaks loose with your tests, even in a fixtures-based test environment, and this typically happened when new fixtures were added to add more variety to the demo data, so as to model a new case.  The upshot conclusion from this for me has always been that data and tests were too tightly coupled.  So, not knowing anything about your application, I wonder if your test granularity (and thus code granularity) is too coarse?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hehe, it&#8217;s a long running debate.  Mocks vs. fixtures.  Rspec brought many advantages that I like, such as being able to test views and helpers and controllers all independently of each other.  Oftentimes with the right granularity you can make those tests pretty lean and mean.</p>

<p>Having said this, mocks are no end-all be-all as some of the fervent proponents have you believe.  Mocking association proxies are a pain, for example.  I&#8217;ve not yet heard a good answer to this.</p>

<p>Some projects out there are trying to centralize the mocks, these may be worth a look.</p>

<p>On a wider perspective, though, I&#8217;ve observed a very similar problem to what you&#8217;re describing&#8211;you make one implementation or API change&#8211;and all hell breaks loose with your tests, even in a fixtures-based test environment, and this typically happened when new fixtures were added to add more variety to the demo data, so as to model a new case.  The upshot conclusion from this for me has always been that data and tests were too tightly coupled.  So, not knowing anything about your application, I wonder if your test granularity (and thus code granularity) is too coarse?</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pair programming and microarrays by Bookmarks about Microarray</title>
		<link>http://www.moseshohman.com/blog/2008/07/09/pair-microarrays/comment-page-1/#comment-2376</link>
		<dc:creator>Bookmarks about Microarray</dc:creator>
		<pubDate>Sun, 04 Jan 2009 08:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/?p=59#comment-2376</guid>
		<description>&lt;p&gt;[...] - bookmarked by 4 members originally found by stevemathew on 2008-12-08  Pair programming and microarrays  http://www.moseshohman.com/blog/2008/07/09/pair-microarrays/ - bookmarked by 6 members originally [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 4 members originally found by stevemathew on 2008-12-08  Pair programming and microarrays  <a href="http://www.moseshohman.com/blog/2008/07/09/pair-microarrays/" rel="nofollow">http://www.moseshohman.com/blog/2008/07/09/pair-microarrays/</a> &#8211; bookmarked by 6 members originally [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Too many mock objects == ruby refactoring death by Kevin Olbrich</title>
		<link>http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/comment-page-1/#comment-2375</link>
		<dc:creator>Kevin Olbrich</dc:creator>
		<pubDate>Thu, 13 Nov 2008 21:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2008/07/06/too-many-mock-objects-ruby-refactoring-death/#comment-2375</guid>
		<description>&lt;p&gt;The most recent version of RSpec now supports &#039;stub_model&#039;s.  These use real objects that created at the time of use and cannot be saved to the database.  They have the advantage of allowing you to stub out attributes and still be able to call actual methods on the object.  This way you end up only stubbing the data and not the behavior associated with an object.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The most recent version of RSpec now supports &#8217;stub_model&#8217;s.  These use real objects that created at the time of use and cannot be saved to the database.  They have the advantage of allowing you to stub out attributes and still be able to call actual methods on the object.  This way you end up only stubbing the data and not the behavior associated with an object.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on DTrace predicate hack by richw</title>
		<link>http://www.moseshohman.com/blog/2008/07/06/dtrace-predicate-hack/comment-page-1/#comment-2371</link>
		<dc:creator>richw</dc:creator>
		<pubDate>Sat, 08 Nov 2008 02:32:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2008/07/06/dtrace-predicate-hack/#comment-2371</guid>
		<description>&lt;p&gt;good original post. fwiw, dtrace is a fantastic tool, though i&#039;m also confused by the lack of text searching (dare i bring up RE?) within the predicates.&lt;/p&gt;

&lt;p&gt;i really hope i just haven&#039;t found out how to do it instead of it not being there at all....&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>good original post. fwiw, dtrace is a fantastic tool, though i&#8217;m also confused by the lack of text searching (dare i bring up RE?) within the predicates.</p>

<p>i really hope i just haven&#8217;t found out how to do it instead of it not being there at all&#8230;.</p>]]></content:encoded>
	</item>
	<item>
		<title>Comment on Slow Rails migrations, Ruby GC, and a MacPorts portfile by roger</title>
		<link>http://www.moseshohman.com/blog/2007/01/05/slow-rails-migrations-ruby-gc-and-a-macports-portfile/comment-page-1/#comment-2368</link>
		<dc:creator>roger</dc:creator>
		<pubDate>Wed, 20 Aug 2008 21:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.moseshohman.com/blog/2007/01/05/37#comment-2368</guid>
		<description>&lt;p&gt;I see this this port install the famous &#039;gcpatch&#039; for the existing interpreter.  Cool.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I see this this port install the famous &#8216;gcpatch&#8217; for the existing interpreter.  Cool.</p>]]></content:encoded>
	</item>
</channel>
</rss>
