<?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: Testing Javascript</title>
	<atom:link href="http://blog.silkapp.com/2010/02/testing-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.silkapp.com/2010/02/testing-javascript/</link>
	<description>Silk Blog</description>
	<lastBuildDate>Mon, 23 Jan 2012 10:22:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Erik</title>
		<link>http://blog.silkapp.com/2010/02/testing-javascript/comment-page-1/#comment-5386</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Mon, 12 Dec 2011 14:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-5386</guid>
		<description>@Oliver: I&#039;ve made an edit to get the code visible at least. We&#039;ll look into getting code coloring working in comments again. Thanks for the report!</description>
		<content:encoded><![CDATA[<p>@Oliver: I&#8217;ve made an edit to get the code visible at least. We&#8217;ll look into getting code coloring working in comments again. Thanks for the report!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://blog.silkapp.com/2010/02/testing-javascript/comment-page-1/#comment-4979</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Mon, 21 Nov 2011 10:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-4979</guid>
		<description>Is the qunit/quickcheck wrapper code still available? I&#039;m not sure that &quot;::CODECOLORER_BLOCK_13::&quot; is quite it!</description>
		<content:encoded><![CDATA[<p>Is the qunit/quickcheck wrapper code still available? I&#8217;m not sure that &#8220;::CODECOLORER_BLOCK_13::&#8221; is quite it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://blog.silkapp.com/2010/02/testing-javascript/comment-page-1/#comment-227</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-227</guid>
		<description>@Darrin: Thanks for writing qc.js! Everything works at the moment, so we don&#039;t need anything. We might want to build shrinking like QuickCheck in Haskell has in the future.

@Paul: Sure, here it is. I hope it&#039;s useful to you.

&lt;pre&gt;
  function quickcheck (args, test, config)
  {
    if (!config) config = new Config(100, 1000);
    var p = new Prop(&quot;&quot;, args, test);
    var res = runProp(config, p);
    var passed = res.status === &quot;pass&quot;;
    var msg = res.status
    if (res.status === &quot;fail&quot;) msg += &quot; on &quot; + QUnit.jsDump.parse(res.failedCase);
    msg += &quot; (&quot; + res.counts.pass + &quot; passed, &quot; + res.counts.invalid + &quot; invalid)&quot;;
    ok(passed, msg);
  }
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Darrin: Thanks for writing qc.js! Everything works at the moment, so we don&#8217;t need anything. We might want to build shrinking like QuickCheck in Haskell has in the future.</p>
<p>@Paul: Sure, here it is. I hope it&#8217;s useful to you.</p>
<p>  function quickcheck (args, test, config)<br />
  {<br />
    if (!config) config = new Config(100, 1000);<br />
    var p = new Prop(&#8220;&#8221;, args, test);<br />
    var res = runProp(config, p);<br />
    var passed = res.status === &#8220;pass&#8221;;<br />
    var msg = res.status<br />
    if (res.status === &#8220;fail&#8221;) msg += &#8221; on &#8221; + QUnit.jsDump.parse(res.failedCase);<br />
    msg += &#8221; (&#8221; + res.counts.pass + &#8221; passed, &#8221; + res.counts.invalid + &#8221; invalid)&#8221;;<br />
    ok(passed, msg);<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Irish</title>
		<link>http://blog.silkapp.com/2010/02/testing-javascript/comment-page-1/#comment-226</link>
		<dc:creator>Paul Irish</dc:creator>
		<pubDate>Thu, 25 Feb 2010 15:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-226</guid>
		<description>Can you share the qunit/quickcheck wrapper code?

Thanks</description>
		<content:encoded><![CDATA[<p>Can you share the qunit/quickcheck wrapper code?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darrin Thompson</title>
		<link>http://blog.silkapp.com/2010/02/testing-javascript/comment-page-1/#comment-220</link>
		<dc:creator>Darrin Thompson</dc:creator>
		<pubDate>Tue, 23 Feb 2010 14:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.typlab.com/?p=391#comment-220</guid>
		<description>Thanks for publishing your use of qc.js. If I can help you in any way please let me know.</description>
		<content:encoded><![CDATA[<p>Thanks for publishing your use of qc.js. If I can help you in any way please let me know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

