<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HCoder.org &#187; automated</title>
	<atom:link href="http://hcoder.org/tag/automated/feed/" rel="self" type="application/rss+xml" />
	<link>http://hcoder.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 15 Apr 2012 21:43:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Feeling the pressure produces better code?</title>
		<link>http://hcoder.org/2009/12/06/feeling-the-pressure-produces-better-code/</link>
		<comments>http://hcoder.org/2009/12/06/feeling-the-pressure-produces-better-code/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 16:10:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[exploratory]]></category>
		<category><![CDATA[qa]]></category>
		<category><![CDATA[teams]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>
		<category><![CDATA[unit]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[The other day I was in a conversation with some developer that was complaining about some feature. He claimed that it was too complex and that it had led to tons of bugs. In the middle of the conversation, the developer said that the feature had been so buggy that he ended up writing a [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was in a conversation with some developer that was complaining about some feature. He claimed that it was too complex and that it had led to tons of bugs. In the middle of the conversation, the developer said that the feature had been so buggy that he ended up writing a lot of unit tests for it. To be honest I don&#8217;t think there were a lot of bugs <em>after</em> those tests were written, so that made me think:</p>
<blockquote><p>Maybe the testers in his team are doing too good of a job?</p></blockquote>
<p>
Because, you know, if testers are finding enough of &#8220;those bugs&#8221; (the ones that should be caught and controlled by unit tests and not by testers <em>weeks</em> after the code was originally written), maybe some developers are just not &#8220;feeling the pressure&#8221; and can&#8217;t really get that they should be writing tests for their code. If testers are very good, things just work out fine in the end&#8230; sort of. And of course, the problem here is the trailing &#8220;sort of&#8221;.<br />
I know I&#8217;m biased, but in my view there is a <strong>ton</strong> of bugs that should never be seen by someone that is not the developer itself. Testers should deal with more complex, interesting, user-centred bugs. Non-trivial cases. Suboptimal UIs. Implementation disagreements between developers and stakeholders. That kind of thing. It&#8217;s simply a waste of time and resources that testers have to deal with silly, easy-to-avoid bugs on a daily basis. Not to mention that teams shouldn&#8217;t have to wait for days or weeks until they find <em>basic</em> bugs via exploratory testing. Or that a lot of those are much, much quicker to test with unit tests than having to create the whole fixture/environment for them to be found with exploratory testing.<br />
My current conclusion is that pushing on the UI/usability side is not only good for the user, but it&#8217;s likely to produce better code as it will be, on average, more complex and will have to be better controlled by QA (code review, less ad-hoc design, &#8230;) and automated tests. Maybe developers will start hating me for that, but hopefully <em>users</em> will thank me.</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=81&amp;md5=51f8ccaa005170cc7a643f0cb4c2a30c" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2009/12/06/feeling-the-pressure-produces-better-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30124&amp;popout=1&amp;url=http%3A%2F%2Fhcoder.org%2F2009%2F12%2F06%2Ffeeling-the-pressure-produces-better-code%2F&amp;language=en_GB&amp;category=text&amp;title=Feeling+the+pressure+produces+better+code%3F&amp;description=The+other+day+I+was+in+a+conversation+with+some+developer+that+was+complaining+about+some+feature.+He+claimed+that+it+was+too+complex+and+that+it+had+led+to...&amp;tags=automated%2Cexploratory%2Cqa%2Cteams%2Ctesting%2Ctests%2Cunit%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Slides for several talks now published</title>
		<link>http://hcoder.org/2009/09/20/slides-for-several-talks-now-published/</link>
		<comments>http://hcoder.org/2009/09/20/slides-for-several-talks-now-published/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 15:25:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Other]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[courses]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[slides]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I had said that I was going to publish the slides for a couple of talks I had given over the last couple of months, and I just got around to actually do it, so here they are: Software automated testing 123, an entry-level talk about software automated testing. Why you should be doing it [...]]]></description>
			<content:encoded><![CDATA[<p>I had said that I was going to publish the slides for a couple of talks I had given over the last couple of months, and I just got around to actually do it, so here they are:</p>
<ul>
<li><a href="http://www.demiurgo.org/charlas/testing-123/">Software automated testing 123</a>, an entry-level talk about software automated testing. Why you should be doing it (if you&#8217;re not already), some advice for test writing, some basic concepts and some basic examples (in Perl, but I trust it shouldn&#8217;t be too hard to follow even if you don&#8217;t know the language).</li>
<li><a href="http://www.demiurgo.org/charlas/python-unittesting/">Taming the Snake: Python unit tests</a>, another entry-level talk, but this time about Python unit testing specifically. How to write xUnit style tests with <code>unittest</code>, some advice and conventions and some notes on how to use the excellent <code>nosetests</code> tool.</li>
<li>Introduction to Debian packaging, divided in four sessions: <a href="http://www.demiurgo.org/charlas/debian/1-introduction/slides.html">Introduction</a>, <a href="http://www.demiurgo.org/charlas/debian/2-simple_packaging/slides.html">Packaging a simple app</a>, <a href="http://www.demiurgo.org/charlas/debian/3-backporting_software/slides.html">Backporting software</a> and <a href="http://www.demiurgo.org/charlas/debian/4-packaging_tools/slides.html">Packaging tools</a>.</li>
</ul>
<p>Just a quick note about them: the slides shouldn&#8217;t be too hard to understand without me talking, but of course you&#8217;ll lose some stuff that is not written down, some twists, clarifications of what I mean exactly by different things and whatnot. In particular, the &#8220;They. don&#8217;t. make. sense. Don&#8217;t. write. them&#8221; stuff refers to tests that don&#8217;t have a reliable/controlled environment to run into. I feel really strong about them, so I wanted to dedicate a few more seconds to smashing the idea that they&#8217;re ok, hence the extra slides :-)</p>
<p>Enjoy them, and please send me any comments you have about them!</p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=78&amp;md5=3d3c7f5943c585db1237d52f7f0d5504" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2009/09/20/slides-for-several-talks-now-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30124&amp;popout=1&amp;url=http%3A%2F%2Fhcoder.org%2F2009%2F09%2F20%2Fslides-for-several-talks-now-published%2F&amp;language=en_GB&amp;category=text&amp;title=Slides+for+several+talks+now+published&amp;description=I+had+said+that+I+was+going+to+publish+the+slides+for+a+couple+of+talks+I+had+given+over+the+last+couple+of+months%2C+and+I+just+got+around...&amp;tags=automated%2Ccourses%2CDebian%2Cpackaging%2Cpython%2Cslides%2Ctalks%2Ctesting%2Ctests%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Link&#246;ping trip</title>
		<link>http://hcoder.org/2009/09/13/linkoping-trip/</link>
		<comments>http://hcoder.org/2009/09/13/linkoping-trip/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 21:43:00 +0000</pubDate>
		<dc:creator>emanchado</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[linköping]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[qa]]></category>
		<category><![CDATA[sweden]]></category>
		<category><![CDATA[talks]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[trips]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I spent the whole last week (or this week; after all it&#8217;s Sunday&#8230; and Sunday is obviously the last day of the week, not the first, right?) in Linköping, Sweden. The idea was repeating some Debian course I gave here in Oslo, giving two more talks about automated testing since I was there anyway, and [...]]]></description>
			<content:encoded><![CDATA[<p>I spent the whole last week (or <em>this</em> week; after all it&#8217;s Sunday&#8230; and Sunday is obviously the <em>last</em> day of the week, not the <em>first</em>, right?) in <a href="http://en.wikipedia.org/wiki/Linköping">Linköping</a>, Sweden. The idea was repeating some Debian course I gave here in Oslo, giving two more talks about automated testing since I was there anyway, and attend two more talks. It was lots of fun, partly thanks to my &#8220;host&#8221; (thanks Gerald!), and surprisingly I found a bunch of things that seemed plain weird to me&#8230; or at least quite different from Oslo.</p>
<p>The talks themselves went pretty good I think, although I&#8217;d have preferred more people attending. I guess it was normal that there were less people than I&#8217;m used to, since the Linköping office is much smaller. But anyway. The Debian course went quite well and some people got started packaging stuff almost right away. The other talks were an introduction to automated testing (advocacy and arguments for it, advice, basic examples and small rant about a different kind of QA), which went ok, and an entry-level talk about unit testing in Python (thanks Ask and Batiste for the information and reviewing the slides!), which went very well. I&#8217;ll try to get the slides for all the talks available somewhere.</p>
<p>About the city itself, it&#8217;s a charming little part of Sweden where:</p>
<ul>
<li>Restaurants have <strong>insanely</strong> different prices for food whether it&#8217;s for lunch or dinner. Typical prices for lunch are 80 <span class="caps">SEK</span> (around 8 <span class="caps">EUR</span>) and typical prices for dinner are around 250 <span class="caps">SEK</span> <em>just the main course</em>!</li>
<li>Restaurants usually serve some Swedish dish for lunch&#8230; and I mean every restaurant, meaning all the Greek, Vietnamese, etc. Considering &#8220;real&#8221; Swedish restaurants are very expensive, you usually go to those foreign cuisine ones when you actually want to eat Swedish food.</li>
<li>Restaurants typically have some salad (that you have to take yourself) while you wait for the food&#8230; and some coffee, tea and cookies (that obviously you have to take yourself) for the end.</li>
<li>Related to this, restaurants are usually very self-service. I thought service in Norway sucked, but boy was I wrong, at least there is <em>some</em> service. And: there were typically long but pretty-fast-moving queues, and there was this one place where you didn&#8217;t even get the food on the table after ordering at the bar; instead, you were given some gadget with some wireless receiver, and when your food was ready it&#8217;d beep so you knew you had to go to some special place and fetch your food. Is it really cheaper maintaining some gadgets than hiring a waiter? I guess so.</li>
<li>The restrictions on the amount of alcohol that can be bought outside the special Government booze stores are even harder than in Norway. You can only buy booze with up to 3.5% alcohol outside &#8220;<a href="http://en.wikipedia.org/wiki/Systembolaget">Systembolaget</a>&#8221;. Now <em>that</em> is sad. And I was complaining about Norway&#8217;s 5%.</li>
<li>Partly because of that (I assume/hope) the Swedish &#8220;cider&#8221; you get in Sweden is even sweeter and worse and the <em>Swedish</em> cider you get in Norway.</li>
<li>We went to this nice student pub&#8230; which was literally <em>for</em> students. They actually <em>checked</em> your student id, but each student could bring <em>one</em> non-student along. Once you were &#8220;identified&#8221; as a non-student-coming-with-a-student, you&#8217;d get a stamp on your hand so you wouldn&#8217;t have to bring along the student when you ordered again. Also, the place was so very slow it was <em>almost</em> funny. One of the good sides was that they had what I thought it was the only decent Swedish cider&#8230; but after checking just now, it seems it&#8217;s actually American. Bummer. And the name of it was funny too: &#8220;Hardcore Cider&#8221;.</li>
<li>Right before leaving the office on Friday there was a small gathering in the canteen (the &#8220;Friday Beer&#8221;), where they had a Dreamcast with one of the most awesome games I&#8217;ve seen in a long while: <a href="http://en.wikipedia.org/wiki/Typing_of_the_Dead">The Typing of the Dead</a>, a version of <a href="http://en.wikipedia.org/wiki/The_House_of_the_Dead_2">The House of the Dead 2</a> in which you kill the zombies by typing words that appear on the screen, instead of aiming and shooting with a gun:</li>
</ul>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/sNfQ_B6_xy8&#038;hl=es&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/sNfQ_B6_xy8&#038;hl=es&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
 <p><a href="http://hcoder.org/?flattrss_redirect&amp;id=77&amp;md5=1e5aa3ee567b50c997f24a9f4f10af44" title="Flattr" target="_blank"><img src="http://hcoder.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://hcoder.org/2009/09/13/linkoping-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=30124&amp;popout=1&amp;url=http%3A%2F%2Fhcoder.org%2F2009%2F09%2F13%2Flinkoping-trip%2F&amp;language=en_GB&amp;category=text&amp;title=Link%26%23246%3Bping+trip&amp;description=I+spent+the+whole+last+week+%28or+this+week%3B+after+all+it%26%238217%3Bs+Sunday%26%238230%3B+and+Sunday+is+obviously+the+last+day+of+the+week%2C+not+the+first%2C+right%3F%29+in+Link%C3%B6ping%2C+Sweden....&amp;tags=automated%2Clink%26%23246%3Bping%2Clinux%2Copera%2Cqa%2Csweden%2Ctalks%2Ctesting%2Ctrips%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

