<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
	xmlns:admin="http://webns.net/mvcb/" 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:atom="http://www.w3.org/2005/Atom">
	
	<channel>
	
		<title>Headless Testing for Continuous Integration with Git and Jasmine</title>
		<link>http://www.sencha.com/blog/headless-testing-for-continuous-integration-with-git-and-jasmine</link>
		<description>Our WebKit Team lead, Ariya Hidayat, walks you through creating a Continuous Integration setup that will run on Windows, Mac and Linux.</description>
		<dc:language>en-us</dc:language>
		<dc:creator>ariya@sencha.com</dc:creator>
		<dc:rights>Copyright 2011</dc:rights>
		<dc:date>2011-01-14T19:12:51+00:00</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		<atom:link href="http://www.sencha.com/blog/comments-rss/689" rel="self" type="application/rss+xml" />
  
		
  
		<item>
      <title>Comment by Brian Murrell</title>
      <description>@Ariya, others who might encounter this problem&#8212;I upgraded my Qt to 4.7.1 and it indeed solves my problem.&amp;nbsp; So, I think it is safe to say that a bug in QtWebKit 4.6 prevents jasmine from working.&amp;nbsp; 

Next task (or blog topic?  is to get QtWebKit+Jasmine working as a slave to JsTestDriver http://code.google.com/p/js&#45;test&#45;driver/&#8212;I saw that there is a jasmine plugin for JsTestDriver, but I have not looked yet to see what type of capability exists for for making QtWebKit a slave to JsTestDriver&#8230;

Thanks,
Brian</description>
      <content:encoded><![CDATA[<p>@Ariya, others who might encounter this problem&#8212;I upgraded my Qt to 4.7.1 and it indeed solves my problem.&nbsp; So, I think it is safe to say that a bug in QtWebKit 4.6 prevents jasmine from working.&nbsp; </p>

<p>Next task (or blog topic? <img src="/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /> is to get QtWebKit+Jasmine working as a slave to JsTestDriver <a href="http://code.google.com/p/js-test-driver/">http://code.google.com/p/js-test-driver/</a>&#8212;I saw that there is a jasmine plugin for JsTestDriver, but I have not looked yet to see what type of capability exists for for making QtWebKit a slave to JsTestDriver&#8230;</p>

<p>Thanks,<br />
Brian</p>

]]></content:encoded>
      <pubDate>Fri, 11 Feb 2011 17:00 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:17239#date:17:00</guid>
    </item>
  
		<item>
      <title>Comment by Ariya</title>
      <description>@Brian The code works only for Qt 4.7. I&#8217;m sure it&#8217;s possible to make it work for 4.6 as well, however I can&#8217;t promise. Let me put this in our radar and just watch the repository in case we make any update.</description>
      <content:encoded><![CDATA[<p>@Brian The code works only for Qt 4.7. I&#8217;m sure it&#8217;s possible to make it work for 4.6 as well, however I can&#8217;t promise. Let me put this in our radar and just watch the repository in case we make any update.</p>

]]></content:encoded>
      <pubDate>Fri, 11 Feb 2011 16:41 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:17237#date:16:41</guid>
    </item>
  
		<item>
      <title>Comment by Brian Murrell</title>
      <description>Hi Ariya, 

You mention here that one should have QtWebKit 4.7&#8212;did you find any issues with earlier versions?&amp;nbsp; I have QtWebKit 4.6.1 and the simplest jasmine match fails 90% of the time (expect(foo.bar).toEqual(&#8216;bar&#8217;) fails with &#8220;Expected &#8216;bar&#8217; to equal &#8216;bar&#8217;&#8221;.)&amp;nbsp;  If I re&#45;run the test multiple times, it succeeds about 10% of the time.&amp;nbsp; I suspect a QtWebkit bug&#8230; 

I cannot find any google hits on &#8220;qtwebkit jasmine&#8221;.&amp;nbsp; If you have any experience, thanks for offering&#8230;.

Brian</description>
      <content:encoded><![CDATA[<p>Hi Ariya, </p>

<p>You mention here that one should have QtWebKit 4.7&#8212;did you find any issues with earlier versions?&nbsp; I have QtWebKit 4.6.1 and the simplest jasmine match fails 90% of the time (expect(foo.bar).toEqual(&#8216;bar&#8217;) fails with &#8220;Expected &#8216;bar&#8217; to equal &#8216;bar&#8217;&#8221;.)&nbsp;  If I re-run the test multiple times, it succeeds about 10% of the time.&nbsp; I suspect a QtWebkit bug&#8230; </p>

<p>I cannot find any google hits on &#8220;qtwebkit jasmine&#8221;.&nbsp; If you have any experience, thanks for offering&#8230;.</p>

<p>Brian</p>

]]></content:encoded>
      <pubDate>Wed, 09 Feb 2011 22:47 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:17125#date:22:47</guid>
    </item>
  
		<item>
      <title>Comment by Ariya Hidayat</title>
      <description>@Chris Thanks for the additional info!</description>
      <content:encoded><![CDATA[<p>@Chris Thanks for the additional info!</p>]]></content:encoded>
      <pubDate>Mon, 17 Jan 2011 16:58 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:16848#date:16:58</guid>
    </item>
  
		<item>
      <title>Comment by Chris Johnson</title>
      <description>This is very easy to do in SVN, as SVN also supports a wide variety of powerful hooks.&amp;nbsp; 

Log into the machine which hosts your SVN repository and look for the directory /hooks.&amp;nbsp; In that directory, there should be example hook scripts, usually named like pre&#45;commit.tmpl.&amp;nbsp; Copy that example, or start a new sh script in a file named pre&#45;commit.&amp;nbsp; 

You can use the exact script code given above:

specrunner SpecRunner.html
exit $?

An exit value of 0 allows SVN to commit, while non&#45;zero values block commit, just as with git.</description>
      <content:encoded><![CDATA[<p>This is very easy to do in SVN, as SVN also supports a wide variety of powerful hooks.&nbsp; </p>

<p>Log into the machine which hosts your SVN repository and look for the directory /hooks.&nbsp; In that directory, there should be example hook scripts, usually named like pre-commit.tmpl.&nbsp; Copy that example, or start a new sh script in a file named pre-commit.&nbsp; </p>

<p>You can use the exact script code given above:</p>

<p>specrunner SpecRunner.html<br />
exit $?</p>

<p>An exit value of 0 allows SVN to commit, while non-zero values block commit, just as with git.</p>]]></content:encoded>
      <pubDate>Mon, 17 Jan 2011 16:31 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:16847#date:16:31</guid>
    </item>
  
		<item>
      <title>Comment by Henry P</title>
      <description>Very impressive.&amp;nbsp; We are still on SVN, any chance you could give some pointers on setting this up on SVN?</description>
      <content:encoded><![CDATA[<p>Very impressive.&nbsp; We are still on SVN, any chance you could give some pointers on setting this up on SVN?</p>]]></content:encoded>
      <pubDate>Sun, 16 Jan 2011 22:26 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:16846#date:22:26</guid>
    </item>
  
		<item>
      <title>Comment by Awesome Bob</title>
      <description>I&#8217;m 100% behind this approach. I think I&#8217;ll update my SVN Repository so a prehook would require that phpunit is run on my repository before new changes are commited. Great article!</description>
      <content:encoded><![CDATA[<p>I&#8217;m 100% behind this approach. I think I&#8217;ll update my SVN Repository so a prehook would require that phpunit is run on my repository before new changes are commited. Great article!</p>]]></content:encoded>
      <pubDate>Fri, 14 Jan 2011 23:01 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//headless-testing-for-continuous-integration-with-git-and-jasmine#id:16845#date:23:01</guid>
    </item>
  
		
	</channel>
</rss>