
<?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: JsTestDriver First Impressions</title>
	<atom:link href="http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/</link>
	<description>One Man's Attempt To Find Elegant Code Through Big Words</description>
	<lastBuildDate>Sun, 13 May 2012 00:18:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Thomas</title>
		<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/comment-page-1/#comment-279</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 25 Feb 2011 22:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://mentalpandiculation.com/?p=235#comment-279</guid>
		<description>I was having a similar issue with needing to set the server explicitly. What I found was that there was a non-printable character at the begining of the config file as a result from copying from web references. Creating a clean file and typing up the config cleared up the issue.

I&#039;m having trouble with using the --browser flag to auto capture different browsers. Have you gotten that to work for you?</description>
		<content:encoded><![CDATA[<p>I was having a similar issue with needing to set the server explicitly. What I found was that there was a non-printable character at the begining of the config file as a result from copying from web references. Creating a clean file and typing up the config cleared up the issue.</p>
<p>I&#8217;m having trouble with using the &#8211;browser flag to auto capture different browsers. Have you gotten that to work for you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joerg</title>
		<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/comment-page-1/#comment-238</link>
		<dc:creator>Joerg</dc:creator>
		<pubDate>Thu, 12 Aug 2010 06:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://mentalpandiculation.com/?p=235#comment-238</guid>
		<description>Hi all,
I found this site after searching for a solution how to use JsTestDriver with prototype.js. I tested the approach to inject the prototype file at each test file but without success in my case. Don&#039;t ask why but it looks like the injection was performed to late to init the tests proper.

Later I found this way to hack prototype and enable it for JsTestDriver: http://code.google.com/p/js-test-driver/issues/detail?id=32#c12
Looks like the JSON part is a problem right now. I&#039;m not using the fix which is also mentioned in this thread. I just add a fix.js file in the conf file and that&#039;s it.

Maybe this will help someone later facing the same problem I did. 
By the way: I&#039;m using the eclipse plugin of JsTestDriver.

Cheers, Joerg</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
I found this site after searching for a solution how to use JsTestDriver with prototype.js. I tested the approach to inject the prototype file at each test file but without success in my case. Don&#8217;t ask why but it looks like the injection was performed to late to init the tests proper.</p>
<p>Later I found this way to hack prototype and enable it for JsTestDriver: <a href="http://code.google.com/p/js-test-driver/issues/detail?id=32#c12" rel="nofollow">http://code.google.com/p/js-test-driver/issues/detail?id=32#c12</a><br />
Looks like the JSON part is a problem right now. I&#8217;m not using the fix which is also mentioned in this thread. I just add a fix.js file in the conf file and that&#8217;s it.</p>
<p>Maybe this will help someone later facing the same problem I did.<br />
By the way: I&#8217;m using the eclipse plugin of JsTestDriver.</p>
<p>Cheers, Joerg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niklaus Wirth's Ghost</title>
		<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/comment-page-1/#comment-141</link>
		<dc:creator>Niklaus Wirth's Ghost</dc:creator>
		<pubDate>Wed, 31 Mar 2010 14:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://mentalpandiculation.com/?p=235#comment-141</guid>
		<description>Hi Darren,

I ended up not mocking anything out and instead just including dependencies in the script file containing my tests.  So for example, in tests where Prototype.js is required, I just add the following line to the top of my test script file:

&lt;pre name=&quot;code&quot; class=&quot;jscript&quot;&gt;document.write(&#039;&lt;script type=&quot;text/javascript&quot; src=&quot;path_to_prototype.js&quot;&gt;&lt;/script&gt;&#039;);&lt;/pre&gt;

That seems to work currently though I haven&#039;t been spending too much time with JsTestDriver lately and am just now getting back into it.</description>
		<content:encoded><![CDATA[<p>Hi Darren,</p>
<p>I ended up not mocking anything out and instead just including dependencies in the script file containing my tests.  So for example, in tests where Prototype.js is required, I just add the following line to the top of my test script file:</p>
<pre name="code" class="jscript">document.write('<script type="text/javascript" src="path_to_prototype.js"></script>');</pre>
<p>That seems to work currently though I haven&#8217;t been spending too much time with JsTestDriver lately and am just now getting back into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/comment-page-1/#comment-138</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Tue, 30 Mar 2010 07:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://mentalpandiculation.com/?p=235#comment-138</guid>
		<description>&lt;blockquote cite=&quot;#comment-body-137&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-137&quot; rel=&quot;nofollow&quot;&gt;Darren&lt;/a&gt; :&lt;/strong&gt;
                
                
       
       
          Hi,
Have you managed to mock up some  Prototype.js or jQuery dependencies y?
I see JsTestDriver-1.2.1-src.jar  came out Feb 27th, has that sorted out a few gotchas you encountered?
          &lt;a&gt;&lt;/a&gt;

      &lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote cite="#comment-body-137"><p>
<strong><a href="#comment-137" rel="nofollow">Darren</a> :</strong></p>
<p>          Hi,<br />
Have you managed to mock up some  Prototype.js or jQuery dependencies y?<br />
I see JsTestDriver-1.2.1-src.jar  came out Feb 27th, has that sorted out a few gotchas you encountered?<br />
          <a></a></p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://mentalpandiculation.com/2010/01/jstestdriver-first-impressions/comment-page-1/#comment-137</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Tue, 30 Mar 2010 07:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://mentalpandiculation.com/?p=235#comment-137</guid>
		<description>Hi,

Have you managed to mock up some Prototype.js dependencies or jQuery?

I see JsTestDriver-1.2.1-src.jar  came out Feb 27th, has that sorted out a few gotchas you encountered?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Have you managed to mock up some Prototype.js dependencies or jQuery?</p>
<p>I see JsTestDriver-1.2.1-src.jar  came out Feb 27th, has that sorted out a few gotchas you encountered?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

