<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: JavaScript: Behavior Driven Development / Test Driven Development Tools Roundup</title>
	<atom:link href="http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 20 Apr 2009 20:10:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: TJ</title>
		<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/#comment-14</link>
		<dc:creator>TJ</dc:creator>
		<pubDate>Mon, 20 Apr 2009 20:10:35 +0000</pubDate>
		<guid isPermaLink="false">http://chrisincambo.wordpress.com/?p=15#comment-14</guid>
		<description>You should check out  JSpec http://visionmedia.github.com/jspec/
it is by far the cleanest and lightest BDD framework (one file). Tons of features and over 50 matchers</description>
		<content:encoded><![CDATA[<p>You should check out  JSpec <a href="http://visionmedia.github.com/jspec/" rel="nofollow">http://visionmedia.github.com/jspec/</a><br />
it is by far the cleanest and lightest BDD framework (one file). Tons of features and over 50 matchers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Carter</title>
		<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/#comment-13</link>
		<dc:creator>Nick Carter</dc:creator>
		<pubDate>Thu, 18 Dec 2008 08:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://chrisincambo.wordpress.com/?p=15#comment-13</guid>
		<description>Yeah, I know a lot of the Rails world is using ScrewUnit, or so my local grapevine tells me. I looked over it, it seemed pretty similar.

A few things from Ruby are nice in JS (the each method, for instance) but I&#039;m with you on not re-creating a language when the existing tools do just fine.

I emailed Alan a couple times before I implemented any tests for Jazz with JSSpec, hoping there was a concise, non-kludgey-feeling way of using `before` and `before_all`, etc setup/teardown of data for test sets. He said that for the now I&#039;d have to stick with globals and delete them in the `after` functions, which is what I&#039;m doing for the time being. As long as you&#039;re careful it&#039;s not a big deal, but it doesn&#039;t /feel/ right, I know.

I&#039;d heard something about JSSpec2 but yeah, don&#039;t feel the need to try it at this stage. I will be trying to get my existing tests to run in AIR and Titanium shortly, as we advertise those as supported platforms and I&#039;d like to automated test more thoroughly.

Looked over the amok stuff. Pretty cool. Seems fairly similar to JSMock with diff language.</description>
		<content:encoded><![CDATA[<p>Yeah, I know a lot of the Rails world is using ScrewUnit, or so my local grapevine tells me. I looked over it, it seemed pretty similar.</p>
<p>A few things from Ruby are nice in JS (the each method, for instance) but I&#8217;m with you on not re-creating a language when the existing tools do just fine.</p>
<p>I emailed Alan a couple times before I implemented any tests for Jazz with JSSpec, hoping there was a concise, non-kludgey-feeling way of using `before` and `before_all`, etc setup/teardown of data for test sets. He said that for the now I&#8217;d have to stick with globals and delete them in the `after` functions, which is what I&#8217;m doing for the time being. As long as you&#8217;re careful it&#8217;s not a big deal, but it doesn&#8217;t /feel/ right, I know.</p>
<p>I&#8217;d heard something about JSSpec2 but yeah, don&#8217;t feel the need to try it at this stage. I will be trying to get my existing tests to run in AIR and Titanium shortly, as we advertise those as supported platforms and I&#8217;d like to automated test more thoroughly.</p>
<p>Looked over the amok stuff. Pretty cool. Seems fairly similar to JSMock with diff language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/#comment-12</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 18 Dec 2008 01:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://chrisincambo.wordpress.com/?p=15#comment-12</guid>
		<description>Hi Nick,

Sorry blog, I had nearly forgotten all about you!

Thanks for the feedback Nick. Yep I don&#039;t know where I&#039;d be without BDD, well actually I do know as testing is something I&#039;ve learned about the hard way in the past. We had a project where we reverse engineered the Google Maps API and plugged it in to an open source mapping engine. That was a project where testing was extremely important as at that time the Google Maps API was changing so frequently, so we used every JavaScript testing product we could lay our hands on at one point or another.

Since writing the article above there have been some new developments, there&#039;s been a new BDD framework released called ScrewUnit (http://github.com/nkallen/screw-unit/tree/master), looks quite cool but I really hate it when developers try making JavaScript look like Ruby, trying to recreate symbols and such, so I&#039;ve stuck with JSSpec.

Also I&#039;ve been in contact with Alan from JSSpec and he informed me JSSpec2 is at alpha stage, this new version has a HMTL, Rhino and Windows Script Host runners, so now it&#039;s possible to start setting up a continuous integration process for your JavaScript projects, which I am extremely excited about. Unfortunately the current release only has an xUnit style DSL, but the BDD dsl is in the todo list. You can get it out of the JSSpec SVN on Google Code.

Also there&#039;s a new mocking framework called (amok) which I wrote, I haven&#039;t publicised it as I wrote it mainly for internal use, but it&#039;s open source and available at Google Code (http://code.google.com/p/amok/).

Cheers,

Chris</description>
		<content:encoded><![CDATA[<p>Hi Nick,</p>
<p>Sorry blog, I had nearly forgotten all about you!</p>
<p>Thanks for the feedback Nick. Yep I don&#8217;t know where I&#8217;d be without BDD, well actually I do know as testing is something I&#8217;ve learned about the hard way in the past. We had a project where we reverse engineered the Google Maps API and plugged it in to an open source mapping engine. That was a project where testing was extremely important as at that time the Google Maps API was changing so frequently, so we used every JavaScript testing product we could lay our hands on at one point or another.</p>
<p>Since writing the article above there have been some new developments, there&#8217;s been a new BDD framework released called ScrewUnit (<a href="http://github.com/nkallen/screw-unit/tree/master)" rel="nofollow">http://github.com/nkallen/screw-unit/tree/master)</a>, looks quite cool but I really hate it when developers try making JavaScript look like Ruby, trying to recreate symbols and such, so I&#8217;ve stuck with JSSpec.</p>
<p>Also I&#8217;ve been in contact with Alan from JSSpec and he informed me JSSpec2 is at alpha stage, this new version has a HMTL, Rhino and Windows Script Host runners, so now it&#8217;s possible to start setting up a continuous integration process for your JavaScript projects, which I am extremely excited about. Unfortunately the current release only has an xUnit style DSL, but the BDD dsl is in the todo list. You can get it out of the JSSpec SVN on Google Code.</p>
<p>Also there&#8217;s a new mocking framework called (amok) which I wrote, I haven&#8217;t publicised it as I wrote it mainly for internal use, but it&#8217;s open source and available at Google Code (<a href="http://code.google.com/p/amok/)" rel="nofollow">http://code.google.com/p/amok/)</a>.</p>
<p>Cheers,</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Carter</title>
		<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/#comment-11</link>
		<dc:creator>Nick Carter</dc:creator>
		<pubDate>Wed, 17 Dec 2008 20:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://chrisincambo.wordpress.com/?p=15#comment-11</guid>
		<description>Hi Chris. Nice little article here. Totally with you on JSSpec, it&#039;s really helped with catching problems when working on JazzRecord.

I find BDD to be much more sensible than testing all the internals and things users of your code will never touch. I think of it as black box testing and feel it really makes for better stability without greatly affecting time to test. Adding a few JSSpec tests for a new feature (or something as yet untested) takes a few minutes - not much longer than simply verifying something works for myself in Firebug - but lasts for the life of the project.

It&#039;s more a mindset change than anything else. Before doing BDD (this applies to all languages) I was testing internals unnecessarily and re-reading old tests was such a pain. With the more declarative nature of BDD test frameworks (like `value_of(X).should_be(Y)` in JSSpec) is immediately recognizable for what it is testing, and makes digging into the details that much easier.

The only thing that could improve the JSSpec experience would be if it could somehow be integrated in the deployment process automatically as an enforcement of rules. I&#039;ve made a few deployments now where I had fixed bugs in component files of JazzRecord, but forgot to build the actual release file, which JSSpec tests against. If someone knows how to do this I&#039;d greatly appreciate the tip!</description>
		<content:encoded><![CDATA[<p>Hi Chris. Nice little article here. Totally with you on JSSpec, it&#8217;s really helped with catching problems when working on JazzRecord.</p>
<p>I find BDD to be much more sensible than testing all the internals and things users of your code will never touch. I think of it as black box testing and feel it really makes for better stability without greatly affecting time to test. Adding a few JSSpec tests for a new feature (or something as yet untested) takes a few minutes &#8211; not much longer than simply verifying something works for myself in Firebug &#8211; but lasts for the life of the project.</p>
<p>It&#8217;s more a mindset change than anything else. Before doing BDD (this applies to all languages) I was testing internals unnecessarily and re-reading old tests was such a pain. With the more declarative nature of BDD test frameworks (like `value_of(X).should_be(Y)` in JSSpec) is immediately recognizable for what it is testing, and makes digging into the details that much easier.</p>
<p>The only thing that could improve the JSSpec experience would be if it could somehow be integrated in the deployment process automatically as an enforcement of rules. I&#8217;ve made a few deployments now where I had fixed bugs in component files of JazzRecord, but forgot to build the actual release file, which JSSpec tests against. If someone knows how to do this I&#8217;d greatly appreciate the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://chrisincambo.wordpress.com/2008/07/14/javascript-behavior-driven-development-test-driven-development-tools-roundup/#comment-9</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Tue, 05 Aug 2008 16:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://chrisincambo.wordpress.com/?p=15#comment-9</guid>
		<description>I agree with your first para and I&#039;m surprised you have no feedback other than this rather pointless note. But thanks a lot, the analysis and the pointers are good to have.</description>
		<content:encoded><![CDATA[<p>I agree with your first para and I&#8217;m surprised you have no feedback other than this rather pointless note. But thanks a lot, the analysis and the pointers are good to have.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
