<?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>blogstuff &#187; Bugs</title>
	<atom:link href="http://www.testuff.com/blog/category/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.testuff.com/blog</link>
	<description>blogging the world of testing stuff</description>
	<lastBuildDate>Wed, 14 Jul 2010 12:46:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How not to color your links</title>
		<link>http://www.testuff.com/blog/2008/12/how-not-to-color-your-links/</link>
		<comments>http://www.testuff.com/blog/2008/12/how-not-to-color-your-links/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:37:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.testuff.com/blog/?p=251</guid>
		<description><![CDATA[We&#8217;ll take a short break from the SaaS series to talk about something else that I and my colleagues really care about at Testuff &#8211; Usability.
Many of our users notice how simple Testuff is to use, that you really don&#8217;t need to read the Testuff help section to wrap your brain around it. We love [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ll take a short break from <a href="http://www.testuff.com/blog/category/saas/">the SaaS series</a> to talk about something else that I and my colleagues really care about at Testuff &#8211; <strong>Usability</strong>.</p>
<p>Many of our users notice how simple Testuff is to use, that you really don&#8217;t need to read the <a href="http://www.testuff.com/help">Testuff help section</a> to wrap your brain around it. We love it and are always on the look out how to make things even simpler especially if we get to try out cool new and intuitive design patterns.</p>
<p>Sometimes however usability goes wrong. Take a look at this screenshot and immediately answer the following questions: <em>Which links have already been visited?</em></p>
<p><a href="http://www.designinginteractions.com/interviews" target="_blank"><img class="alignnone size-full wp-image-255" title="links at the designing interactions site" src="http://www.testuff.com/blog/wp-content/uploads/2008/12/designinginteractions1.jpg" alt="" width="446" height="623" /></a></p>
<p>The immediate answer will probably be the gray links, right? Wrong! It&#8217;s the black ones I&#8217;ve already visited.</p>
<p>Why did you think this way? Probably because you associated the gray color with disabled controls in software, generally with old stuff, with the past. The black, in this context at least, looks like the shiny new fresh from the print links.</p>
<p>This is actually quite an embarassement for a website about design, but that&#8217;s life, and even Testuff has bugs <img src='http://www.testuff.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I understand that they wanted colors to fit the website color scheme, and even though black is generally a bad color for links a reversal of the link visited/unvisited colors could do the site well. <a href="http://www.designinginteractions.com/interviews" target="_blank">The interviews on that page</a> are fascinating though!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testuff.com/blog/2008/12/how-not-to-color-your-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why developers shouldn&#8217;t test their own code</title>
		<link>http://www.testuff.com/blog/2008/07/why-developers-shouldnt-test-their-own-code/</link>
		<comments>http://www.testuff.com/blog/2008/07/why-developers-shouldnt-test-their-own-code/#comments</comments>
		<pubDate>Sun, 06 Jul 2008 15:34:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[QA]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://www.testuff.com/blog/?p=13</guid>
		<description><![CDATA[I f*#$ed up. I wrote a simple script to send post sale emails to our customers, letting them know we are here to help in case they have any questions or suggestions. The script was supposed to pull out registrants who registered over 2 weeks ago and to whom we have not sent such an [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I f*#$ed up.</strong> I wrote a simple script to send post sale emails to our customers, letting them know we are here to help in case they have any questions or suggestions. The script was supposed to pull out registrants who registered over 2 weeks ago and to whom we have not sent such an email yet. The relevant database field was &#8220;zeroed&#8221; of course so that we wouldn&#8217;t send hundreds of emails to users who are long gone.</p>
<p>Everything seemed OK. I even tested a modified version of the script to check the email comes out correctly by sending it to myself, and did find some bugs. But lacking a more &#8220;real world&#8221; test, say an example DB with the names and emails of everyone in Testuff, turned out I had a rather silly and annoying bug.</p>
<p>After I activated the script for real, I got back an email from a semi-angry customer who said that good support starts with getting the customer name right. I wasn&#8217;t sure what he was talking about until I saw the email that he forwarded me. It started with <em>Hi Chris</em> which wasn&#8217;t his name. In the words of the great Homer Simpson: <em>D&#8217;oh!</em></p>
<p>Turns out the following line of Python code was wrong:</p>
<pre style="padding-left: 30px;">postsaleText = postsaleText.replace(textToReplace, firstName)</pre>
<p>As you may understand, in the post sale email template I had some sort of fixed text, in this case <em>Hi FIRST_NAME</em>, that was to be replaced with the first name of each customer in a loop. However, with the above buggy line after the first time it was replaced <em>FIRST_NAME</em> was gone and instead <em>Chris</em>, the first name of the first customer that came up in the loop, was pasted in. After that the replace function is useless since it will never find <em>FIRST_NAME</em> again. Thus everyone received a mail that starts with <em>Hi Chris</em>, which wasn&#8217;t their name, except for Chris of course.</p>
<p>Here&#8217;s the correct line, with the additional fix of replacing postsaleText later on with newPostsaleText in the relevant lines:</p>
<pre style="padding-left: 30px;">newPostsaleText = postsaleText.replace(textToReplace, firstName)</pre>
<p>This goes to show that <strong>developers just shouldn&#8217;t test their own code</strong>. They assume things work and fail to see their own blind spots. It takes another pair of eyes connected to some other brain to find these faults. Even a simple piece of code (the script just has 171 lines) has bugs, and despite my own QA experience I wasn&#8217;t able to find all of them, blind to my own blind spots.</p>
<p>Another conclusion is that <strong>&#8220;real world&#8221; testing is really important</strong>. If you want to find actual bugs that your actual customers may encounter, you need to use actual data for testing instead of a sterile environment. The headaches of setting up a real world environment will save much bigger headaches later, the kind you get when nasty bugs are discovered by your users and cost your company lot&#8217;s of dineros.</p>
<p>I&#8217;ve seen people asking lately if software companies actually need QA, if it&#8217;s not all a big waste of money. Your developers, as good as they may be, write bugs in their software. They can&#8217;t find their own bugs. Even if they go testing each other&#8217;s code, they don&#8217;t have the kind of software breaking thinking &amp; skills that QA do and just won&#8217;t find as many bugs. Not to mention developers are usually further removed from the user experience while QA are much closer to it, thus finding &#8220;trivial&#8221; bugs that developers may ignore altogether, or worse, bugs in the software design.</p>
<p>So, if you&#8217;re OK with buggy software that customers will simply abandon in favor of the competition, if you wanna save a few salaries and you don&#8217;t mind losing market revenue, <em>go ahead, make my day.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.testuff.com/blog/2008/07/why-developers-shouldnt-test-their-own-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hollywood, here they come!</title>
		<link>http://www.testuff.com/blog/2008/06/hollywood-here-they-come/</link>
		<comments>http://www.testuff.com/blog/2008/06/hollywood-here-they-come/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 15:02:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Funstuff]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://blog.testuff.com/?p=9</guid>
		<description><![CDATA[Having seen the celebrity look alike webapp, I had some funny inspiration for testing. Let&#8217;s see how well it works and see if the celebrities look like themselves!

My Hollywood Twin, Johnny Depp, only looks like himself by 76%. That sucks for the algorithm developers. On the other hand, this guy has a hundred different faces [...]]]></description>
			<content:encoded><![CDATA[<p>Having seen the <a href="http://www.myheritage.com/celebrity-face-recognition">celebrity look alike webapp</a>, I had some funny inspiration for testing. Let&#8217;s see how well it works and see if the celebrities look like themselves!</p>
<p><a title="MyHeritage - free family trees, genealogy and face recognition" href="http://www.myheritage.com/collage" target="_blank"><img src="http://www.myheritagefiles.com/K/storage/site1/files/67/12/82/671282_89050952bf7284kxq7gt44.JPG" border="0" alt="" width="500" height="574" /></a></p>
<p>My <em>Hollywood Twin</em>, Johnny Depp, only looks like himself by 76%. That sucks for the algorithm developers. On the other hand, this guy has a hundred different faces in a hundred different roles, so what&#8217;s the wonder he doesn&#8217;t completely look like himself. One could also get a little philosophical and ask what it even means to look like yourself. Both <a href="http://en.wikipedia.org/wiki/Buddha">Buddha</a> and <a href="http://en.wikiquote.org/wiki/Heraclitus">Heraclitus</a> have said thousands of years ago that there is no permanence. If the cells in my body die and new cells are constantly born, why should I even look like myself by 100%?</p>
<p>Apparently Scarlett Johansson doesn&#8217;t even look like herself as a top match, but more like Lara Flynnn Boyle. Lost twins, or just hot babes? You may be the judge:</p>
<p><a title="MyHeritage - free family trees, genealogy and face recognition" href="http://www.myheritage.com/collage" target="_blank"><img src="http://www.myheritagefiles.com/K/storage/site1/files/67/12/22/671222_432543d1bf72846ncta789.JPG" border="0" alt="" width="500" height="574" /></a></p>
<p>However, if there is once constant in the world where you can&#8217;t enter the same river twice and not even once, it&#8217;s the beloved Arnold Schwarzenegger with the well sculpted face of iron:</p>
<p><a title="MyHeritage - free family trees, genealogy and face recognition" href="http://www.myheritage.com/collage" target="_blank"><img src="http://www.myheritagefiles.com/K/storage/site1/files/67/51/82/675182_05634368ef7284ynkpqr27.JPG" border="0" alt="" width="500" height="574" /></a></p>
<p>And who looks the most like a chimp? Jet Lee, Albert Einstein, and apparently also the late Yitzhak Rabin:</p>
<p><a title="MyHeritage - free family trees, genealogy and face recognition" href="http://www.myheritage.com/collage" target="_blank"><img src="http://www.myheritagefiles.com/K/storage/site1/files/67/11/72/671172_036185f0bf7284i3kty753.JPG" border="0" alt="" width="500" height="574" /></a></p>
<p>Last but not least, if you want to make another remake for the film Frankenstein, save yourself the heavy costs of makeup and special fx by hiring David Beckham as the lead role:</p>
<p><a title="MyHeritage - free family trees, genealogy and face recognition" href="http://www.myheritage.com/collage" target="_blank"><img src="http://www.myheritagefiles.com/K/storage/site1/files/67/13/32/671332_61890533bf7284xun09e89.JPG" border="0" alt="" width="500" height="574" /></a></p>
<p>Found any funny bugs or had an idea for an interesting test for some web app out there? Share it with us in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.testuff.com/blog/2008/06/hollywood-here-they-come/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
