<?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>Ben McGraw's Egometry &#187; testing</title>
	<atom:link href="http://www.egometry.com/tags/testing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.egometry.com</link>
	<description>cogito ergo stfu</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:12:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Gruedorf: the Swampening</title>
		<link>http://www.egometry.com/gruedorf/gruedorf-the-swampening/</link>
		<comments>http://www.egometry.com/gruedorf/gruedorf-the-swampening/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 20:49:23 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Gruedorf]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[verge-rpg]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=894</guid>
		<description><![CDATA[Between putting in incredible hours at work, and a few Magic: the Gathering pre-release events in the last week, I haven&#8217;t had much time for gruedorfing. However, I still got 14 commits in.  (All of them Friday morning.) The work done was all in finalizing the /downloads/complete-new-os/ page, and tracking down and fixing errors that [...]]]></description>
			<content:encoded><![CDATA[<p>Between putting in incredible hours at work, and a few Magic: the Gathering pre-release events in the last week, I haven&#8217;t had much time for gruedorfing.</p>
<p>However, I still got 14 commits in.  (All of them Friday morning.)</p>
<p>The work done was all in finalizing the /downloads/complete-new-os/ page, and tracking down and fixing errors that had cropped up in the upload process.</p>
<p>The second item distresses me, presently, since a solid upload system was the main impetus for the rewrite.  finding out that uploads are still fragile and very prone to breaking with forward development, combined with the fact that I don&#8217;t have a testing strategy for roundtrip uploads, means I&#8217;m kinda nervous.</p>
<p>So, anyone out there have a good solution for a round-trip integration test where you upload, via flash and javascript, a unique file, and then verify that the file exists on a unix filesystem, and then verify that a corresponding database entry and further corresponding webpage works?</p>
<p>Moving forward, I&#8217;ll be working on an administrative page to allow file owners/admins to associate file instances as older/newer versions of the same file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/gruedorf/gruedorf-the-swampening/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simpletest, Simple Lessons</title>
		<link>http://www.egometry.com/tech/simpletest-simple-lessons/</link>
		<comments>http://www.egometry.com/tech/simpletest-simple-lessons/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 09:26:32 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[simpletest]]></category>
		<category><![CDATA[tdd]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.egometry.com/?p=248</guid>
		<description><![CDATA[Learn these lessons, fair reader, so that you may not stub thy code-toe upon SimpleTest! ]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://imvu.com/" target=_blank>IMVU</a>, we use a suite of testrunners and enhancements that sit on top of a core of <a href="http://simpletest.org/" target=_blank>Simpletest</a>.  It&#8217;s a pretty sweet suite, filled with all sorts of fancy doodads, gewgaws, and the most lovely selenium fixture you ever did see.  Convenience pours out of it&#8217;s every pore, as put there by scores of engineers over literally pairs of years.</p>
<p>However, we haven&#8217;t spent the time yet to pretty the ol&#8217; girl up for public consumption (which we <i>totally</i> should), so I decided to just use the basic core of SimpleTest while developing (as a personal project) the third iteration of the <a href="http://beta.verge-rpg.com" target=_blank>verge 2d game engine&#8217;s website</a> (wip).  </p>
<p>I didn&#8217;t know what I got myself into.  </p>
<p>Here&#8217;s some hard-earned knowledge I wrestled from the core of this beasty.  These simple statements represent hours of shouting, grunting, and crying defiantly into the rain-filled sky daring a cruel god to strike me down.</p>
<h2>SimpleTest Lessons</h2>
<p><span style="font-size: 250%">1.</span> <span style="font-family: monospace;">assertFieldById()</span> and <span style="font-family: monospace;">assertFieldByName()</span> do not work on html input elements which are improperly placed outside of <span style="font-family: monospace;">&lt;form&gt;</span> tags.</p>
<p><span style="font-size: 250%">2.</span> There do not appear to be out-of-the-box accessors for field values.  I had to code up my own <span style="font-family: monospace;">getFieldById()</span>.</p>
<p><span style="font-size: 250%">3.</span> If an element has an id, but not a name, it&#8217;s value will be inaccessible.</p>
<p><i style="color: silver;">This list is not exhaustive</i></p>
<p>Learn these lessons, fair reader, so that you may not stub thy code-toe upon SimpleTest!  And one day maybe we&#8217;ll get around to releasing IMVU&#8217;s Sweet Suite of Not-So-Simpletest.  </p>
<div style="font-size: 80%; color: silver;">Apologies for a lack of bloodposting for the past few days.  I was deathly ill and moving to San Francisco with <a href="http://timothyfitz.wordpress.com/" target=_blank>some guy</a> all at once.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/tech/simpletest-simple-lessons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Verge-rpg 3.0 cometh</title>
		<link>http://www.egometry.com/gruedorf/verge-rpg-30-cometh/</link>
		<comments>http://www.egometry.com/gruedorf/verge-rpg-30-cometh/#comments</comments>
		<pubDate>Sun, 11 May 2008 20:24:05 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Gruedorf]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[verge-rpg]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Gruedorf: Verge-rpg 3.0 cometh It&#8217;s both Something New and Something Blue. Quite a while ago I commissioned (as in paid) Evilbob for a new more-betterer version of vrpg. I&#8217;ve lately gotten around to start implementing it. Hooray. You can go view it over at http://beta.verge-rpg.com. I&#8217;m aiming to do away with the evil login/session error [...]]]></description>
			<content:encoded><![CDATA[<p>
<h3>Gruedorf: Verge-rpg 3.0 cometh</h3>
<p>
<div style="float: right; padding: 4px; margin: 4px;">
<a target=_new href="http://beta.verge-rpg.com"><img src=/files/gruedorf_challenge/029/2008-05-11_vrpgbeta.png></a><br />
	<span style="color: silver; font-size: -1;"><br />
<br />It&#8217;s both Something New <br /><i>and</i> Something Blue.</span></div>
<p>Quite a while ago I commissioned (as in <i>paid</i>) Evilbob for a new more-betterer version of vrpg.  I&#8217;ve lately gotten around to start implementing it.  Hooray.  </p>
<p>You can go view it over at <a target=_new href="http://beta.verge-rpg.com">http://beta.verge-rpg.com</a>.  </p>
<p>I&#8217;m aiming to do away with the evil login/session error and provide a more reliable upload system.  Amoung other things.</p>
<p>The new system is built upon cakePHP on the backend, providing a pleasant MVC framework for me to focus on actual controlling and display logic instead of shouldering the retarded parts of a website&#8217;s overhead myself.  On the javascript side I&#8217;ll be leaning heavily upon the YUI, which has already made my life a lot saner.</p>
<p>My goals include making this mofo render sanely on IE6 and up, FF2 and up, and the current versions of Opera and Safari (I have a bit of work to go towards these goals).  When the user, board, file, and documentation functionality is in the new version and working better than the current live version, I&#8217;ll bring everything from beta over to the live site, and retire the Old Ways.</p>
<p>The beta site is currently hooked up to the real data, so you can login and see how newsposts currently render, but I&#8217;m still very early on into this implementation.  So yeah.</p>
<h3>subversion, gdorf 19.</h3>
<p>The source for this experiment is in <a href=http://www.verge-rpg.com/svn/vrpg3.0/>http://www.verge-rpg.com/svn/vrpg3.0/</a>.  As of this posting we&#8217;re at r39.</p>
<p>Now it&#8217;s time to go eat some delicious steak!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/gruedorf/verge-rpg-30-cometh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exhausted.</title>
		<link>http://www.egometry.com/gruedorf/exhausted/</link>
		<comments>http://www.egometry.com/gruedorf/exhausted/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 05:57:54 +0000</pubDate>
		<dc:creator>mcgrue</dc:creator>
				<category><![CDATA[Gruedorf]]></category>
		<category><![CDATA[sots]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Tacos Unsettle deliberate banana-farm elitist monster bone. Disgusting foodstuff edible taco taco burrito not because good word thing. Er, wait. A little discombobulated. Today&#8217;s update is a low water mark for myself consisting of a new chr which is just a recolored semi-spoiler and some scant tests for the sully system. svn download Oh my [...]]]></description>
			<content:encoded><![CDATA[<h3>Tacos</h3>
<p>Unsettle deliberate banana-farm elitist monster bone.  Disgusting foodstuff edible taco taco burrito not because good word thing.</p>
<h3>Er, wait.</h3>
<p>A little discombobulated.  Today&#8217;s update is a low water mark for myself consisting of a new chr which is just a recolored semi-spoiler and some scant tests for the sully system.</p>
<h3>svn download</h3>
<p>Oh my goodness, <a href=http://www.verge-rpg.com/svn/sots/>http://www.verge-rpg.com/svn/sots/</a>.  Whee link.</p>
<h3>Oh right&#8230;</h3>
<p>Also, for those keeping score at home, I actually did make a surrogate post last week over at <a href=http://www.verge-rpg.com/boards/display_thread.php?next=1&#038;id=131924>The verge-rpg.com forums</a>.  This was because I foolishly let my dear, sweet egometry.com unregister, and I had to hastily repurchase it.  While I got the domain back, the DNS was all bjorked for a bit, so I couldn&#8217;t reach this place to post.</p>
<h3>Last week, regurgitated.</h3>
<p>Added vctest.vc, which introduces a vc testing suite.</p>
<p>Basically: you create any number of functions in the system.vc space that start with &quot;test&quot; and have no args and return void.  In those functions you must have one or more assertTrue and/or assertFalse functions.  Call runtests(), and all your tests will run.  </p>
<p>If anything fails, the program will exit.</p>
<p>Exciting, eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.egometry.com/gruedorf/exhausted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
