<?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: Turn your jQuery code into a richer, unit testable, plugin</title>
	<atom:link href="http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin</link>
	<description>A blog on web standards, accessibility, css, javascript, xslt, and more</description>
	<lastBuildDate>Mon, 22 Feb 2010 01:46:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Josh Ribakoff</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14058</link>
		<dc:creator>Josh Ribakoff</dc:creator>
		<pubDate>Fri, 29 Jan 2010 04:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14058</guid>
		<description>Hey, I don&#039;t think we&#039;re talking about the same thing. I took a look at JSunit and it has that feature. I just wrote an article and pinged back, it shows exactly what I meant and shows the &quot;test page runner&quot; i wrote for qunit. It execute your pages and aggregates their results in one place, although it doesn&#039;t have the fancy progress bar that jsunit has.</description>
		<content:encoded><![CDATA[<p>Hey, I don&#8217;t think we&#8217;re talking about the same thing. I took a look at JSunit and it has that feature. I just wrote an article and pinged back, it shows exactly what I meant and shows the &#8220;test page runner&#8221; i wrote for qunit. It execute your pages and aggregates their results in one place, although it doesn&#8217;t have the fancy progress bar that jsunit has.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javascript Unit Testing, Test Pages (test classes). &#171; Web Application Development, E-commerce, Sales &#38; Marketing</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14057</link>
		<dc:creator>Javascript Unit Testing, Test Pages (test classes). &#171; Web Application Development, E-commerce, Sales &#38; Marketing</dc:creator>
		<pubDate>Fri, 29 Jan 2010 04:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14057</guid>
		<description>[...] is another topic. I&#8217;ll have to give a ping back to Anup Shah for teaching me that art.    Comments [...]</description>
		<content:encoded><![CDATA[<p>[...] is another topic. I&#8217;ll have to give a ping back to Anup Shah for teaching me that art.    Comments [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14056</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Tue, 26 Jan 2010 12:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14056</guid>
		<description>@Josh: If you see the unit tests I used in the full example, I tried to break each test down to a reasonable test case/scenario. I dunno if that helps answer the question you had in that forum post?</description>
		<content:encoded><![CDATA[<p>@Josh: If you see the unit tests I used in the full example, I tried to break each test down to a reasonable test case/scenario. I dunno if that helps answer the question you had in that forum post?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R.L.</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14054</link>
		<dc:creator>R.L.</dc:creator>
		<pubDate>Fri, 22 Jan 2010 18:11:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14054</guid>
		<description>Just getting started with QUnit. Thanks for the very helpful information!</description>
		<content:encoded><![CDATA[<p>Just getting started with QUnit. Thanks for the very helpful information!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Ribakoff</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14053</link>
		<dc:creator>Josh Ribakoff</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14053</guid>
		<description>Also I should add that qunit&#039;s start() and stop() methods are the key to implementing his asynchronous example.</description>
		<content:encoded><![CDATA[<p>Also I should add that qunit&#8217;s start() and stop() methods are the key to implementing his asynchronous example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Ribakoff</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14052</link>
		<dc:creator>Josh Ribakoff</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:15:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14052</guid>
		<description>Good example, yeah! For any thing that is business logic, you definitely do want to test first. UI stuff generally test last (but take it in the same isolated chunks as you would in a test first approach).

Which is exactly the road block I have run into with qunit

See my post here.. http://forums.devnetwork.net/viewtopic.php?f=13&amp;t=111849

What is your answer to this?</description>
		<content:encoded><![CDATA[<p>Good example, yeah! For any thing that is business logic, you definitely do want to test first. UI stuff generally test last (but take it in the same isolated chunks as you would in a test first approach).</p>
<p>Which is exactly the road block I have run into with qunit</p>
<p>See my post here.. <a href="http://forums.devnetwork.net/viewtopic.php?f=13&amp;t=111849" rel="nofollow">http://forums.devnetwork.net/viewtopic.php?f=13&amp;t=111849</a></p>
<p>What is your answer to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14051</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14051</guid>
		<description>@Josh: thanks for the comment. Interesting point abotu TDD as a last methodology -- yeah, often wouldn&#039;t recommend it, but I read somewhere, and found sometimes myself, that for certain kind of UI things, it sometimes is useful to do a bit later

e.g. if generating a ton of HTML and exploring as you go and then tweaking (usually thanks to IE!) then it may be saner to create the unit tests for that kind of stuff nearer to the end...</description>
		<content:encoded><![CDATA[<p>@Josh: thanks for the comment. Interesting point abotu TDD as a last methodology &#8212; yeah, often wouldn&#8217;t recommend it, but I read somewhere, and found sometimes myself, that for certain kind of UI things, it sometimes is useful to do a bit later</p>
<p>e.g. if generating a ton of HTML and exploring as you go and then tweaking (usually thanks to IE!) then it may be saner to create the unit tests for that kind of stuff nearer to the end&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Ribakoff</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14050</link>
		<dc:creator>Josh Ribakoff</dc:creator>
		<pubDate>Wed, 20 Jan 2010 17:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14050</guid>
		<description>Interesting article, you definitely helped me out. You do a good job articulating why longer lines of code is sometimes desired. I get that a lot when I try to help people decompose their designs. People will say &quot;oh you just made it longer and more complex&quot;.

I have also found that after doing true TDD for a while (like a year), you can almost adopt a test last methodology (although I wouldn&#039;t recommend it)..  You just get better at working in small increments after doing true TDD.</description>
		<content:encoded><![CDATA[<p>Interesting article, you definitely helped me out. You do a good job articulating why longer lines of code is sometimes desired. I get that a lot when I try to help people decompose their designs. People will say &#8220;oh you just made it longer and more complex&#8221;.</p>
<p>I have also found that after doing true TDD for a while (like a year), you can almost adopt a test last methodology (although I wouldn&#8217;t recommend it)..  You just get better at working in small increments after doing true TDD.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anup Shah</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14023</link>
		<dc:creator>Anup Shah</dc:creator>
		<pubDate>Tue, 03 Nov 2009 18:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14023</guid>
		<description>@Paul: the links to the full examples actually work. I looked at the examples in the post again.

I should have clarified that the test() methods that make use of the testUtil object are in the same anonymous function, so it is accessible (if you see the link to the full tests, that is how it is done). I will update the post shortly. Thanks for spotting that.</description>
		<content:encoded><![CDATA[<p>@Paul: the links to the full examples actually work. I looked at the examples in the post again.</p>
<p>I should have clarified that the test() methods that make use of the testUtil object are in the same anonymous function, so it is accessible (if you see the link to the full tests, that is how it is done). I will update the post shortly. Thanks for spotting that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Irish</title>
		<link>http://www.onenaught.com/posts/85/turn-your-jquery-code-into-a-richer-unit-testable-plugin/comment-page-1#comment-14020</link>
		<dc:creator>Paul Irish</dc:creator>
		<pubDate>Mon, 02 Nov 2009 16:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.onenaught.com/?p=85#comment-14020</guid>
		<description>From what I&#039;m seeing the plugin code you wrote won&#039;t work with these unit tests.
The unit tests depend on testUtils being globally accessible, but the testUtils object is defined within the plugin function.
You could probably rejigger things a bit to make that work though.</description>
		<content:encoded><![CDATA[<p>From what I&#8217;m seeing the plugin code you wrote won&#8217;t work with these unit tests.<br />
The unit tests depend on testUtils being globally accessible, but the testUtils object is defined within the plugin function.<br />
You could probably rejigger things a bit to make that work though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
