<?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: Mock Your Ajax Requests with Mockjax for Rapid Development</title>
	<atom:link href="http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/</link>
	<description>Effective, High-Perfomance jQuery for Teams</description>
	<lastBuildDate>Mon, 10 Oct 2011 14:30:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: jdsharp</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-293</link>
		<dc:creator>jdsharp</dc:creator>
		<pubDate>Fri, 11 Feb 2011 01:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-293</guid>
		<description>Hi Simon,&lt;br&gt;&lt;br&gt;This won&#039;t currently work, but I can make the changes to fix it.&lt;br&gt;&lt;br&gt;Can you open a ticket at:&lt;br&gt;&lt;a href=&quot;http://github.com/appendto/jquery-mockjax/issues&quot; rel=&quot;nofollow&quot;&gt;http://github.com/appendto/jqu...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;- Jonathan</description>
		<content:encoded><![CDATA[<p>Hi Simon,</p>
<p>This won&#39;t currently work, but I can make the changes to fix it.</p>
<p>Can you open a ticket at:<br /><a href="http://github.com/appendto/jquery-mockjax/issues" rel="nofollow">http://github.com/appendto/jqu&#8230;</a></p>
<p>Cheers,<br />- Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Dittlmann</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-291</link>
		<dc:creator>Simon Dittlmann</dc:creator>
		<pubDate>Tue, 08 Feb 2011 17:34:13 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-291</guid>
		<description>Is it possible to simulate status 303 see other? I tried it like following, but it doesn&#039;t work... Any ideas?&lt;br&gt;&lt;br&gt;$.mockjax({&lt;br&gt;        url: test.fcgi,&lt;br&gt;        status: 303,&lt;br&gt;        contentType:   &#039;text/plain&#039;,&lt;br&gt;        headers: {&lt;br&gt;            location: &#039;http://localhost/jsonTestFiles/testInput.json&#039;&lt;br&gt;        }&lt;br&gt;    });</description>
		<content:encoded><![CDATA[<p>Is it possible to simulate status 303 see other? I tried it like following, but it doesn&#39;t work&#8230; Any ideas?</p>
<p>$.mockjax({<br />        url: test.fcgi,<br />        status: 303,<br />        contentType:   &#39;text/plain&#39;,<br />        headers: {<br />            location: &#39;<a href="http://localhost/jsonTestFiles/testInput.json&#039;" rel="nofollow">http://localhost/jsonTestFiles/testInput.json&#039;</a><br />        }<br />    });</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdsharp</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-289</link>
		<dc:creator>jdsharp</dc:creator>
		<pubDate>Fri, 04 Feb 2011 20:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-289</guid>
		<description>Hi Wojciech,&lt;br&gt;&lt;br&gt;What you&#039;re thinking about is unit testing and assertions. Mockjax just mocks or imitates a real ajax request.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;- Jonathan</description>
		<content:encoded><![CDATA[<p>Hi Wojciech,</p>
<p>What you&#39;re thinking about is unit testing and assertions. Mockjax just mocks or imitates a real ajax request.</p>
<p>Cheers,<br />- Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojciech Kruszewski</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-287</link>
		<dc:creator>Wojciech Kruszewski</dc:creator>
		<pubDate>Fri, 04 Feb 2011 17:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-287</guid>
		<description>Can I make sure the mock request is actually called? Otherwise it&#039;d be more like a stub (as far as I understand the terminology).&lt;br&gt;&lt;br&gt;I&#039;m thinking of sth like {assert_called: 2} param. It&#039;d raise an exception if conditions aren&#039;t met in several seconds.</description>
		<content:encoded><![CDATA[<p>Can I make sure the mock request is actually called? Otherwise it&#39;d be more like a stub (as far as I understand the terminology).</p>
<p>I&#39;m thinking of sth like {assert_called: 2} param. It&#39;d raise an exception if conditions aren&#39;t met in several seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jebaird</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-288</link>
		<dc:creator>jebaird</dc:creator>
		<pubDate>Thu, 13 Jan 2011 05:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-288</guid>
		<description>Thanks for the great plugin! I was wondering if there were any plans to add the ability to mock ajax calls in web workers.</description>
		<content:encoded><![CDATA[<p>Thanks for the great plugin! I was wondering if there were any plans to add the ability to mock ajax calls in web workers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jörn Zaefferer</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-280</link>
		<dc:creator>Jörn Zaefferer</dc:creator>
		<pubDate>Wed, 08 Dec 2010 21:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-280</guid>
		<description>That would&#039;ve been very helpful to have in the documentation above - saw this comment only after finding the data-parsing in the source code. Anyway, works great.</description>
		<content:encoded><![CDATA[<p>That would&#39;ve been very helpful to have in the documentation above &#8211; saw this comment only after finding the data-parsing in the source code. Anyway, works great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisRaven</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-186</link>
		<dc:creator>ChrisRaven</dc:creator>
		<pubDate>Fri, 08 Oct 2010 15:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-186</guid>
		<description>Hi,&lt;br&gt;&lt;br&gt;Thanks for your response.&lt;br&gt;Currently I&#039;m doing ajax tests without Mockjax, but it is good to know, if I&#039;ll find, that my method is not enough.&lt;br&gt;&lt;br&gt;Here is my current method, if someone need simple ajax testing:&lt;br&gt;&lt;br&gt;test(&#039;ajax&#039;, function () {&lt;br&gt;  var ajaxOptions;&lt;br&gt;  $.ajax = function (param) {&lt;br&gt;      ajaxOptions = param;&lt;br&gt;  };&lt;br&gt;  myAjaxFunction();&lt;br&gt;  ajaxOptions.success(dataReturnedFromServerWhenSuccess);&lt;br&gt;  equals(ajaxOptions.data, &#039;id=1&#039;, &#039;query string ok&#039;);&lt;br&gt;  ok(true, &#039;Some other tests for results of myAjaxFunction()&#039;);&lt;br&gt;});&lt;br&gt;&lt;br&gt;Best regards,&lt;br&gt;ChrisRaven</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for your response.<br />Currently I&#39;m doing ajax tests without Mockjax, but it is good to know, if I&#39;ll find, that my method is not enough.</p>
<p>Here is my current method, if someone need simple ajax testing:</p>
<p>test(&#39;ajax&#39;, function () {<br />  var ajaxOptions;<br />  $.ajax = function (param) {<br />      ajaxOptions = param;<br />  };<br />  myAjaxFunction();<br />  ajaxOptions.success(dataReturnedFromServerWhenSuccess);<br />  equals(ajaxOptions.data, &#39;id=1&#39;, &#39;query string ok&#39;);<br />  ok(true, &#39;Some other tests for results of myAjaxFunction()&#39;);<br />});</p>
<p>Best regards,<br />ChrisRaven</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdsharp</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-168</link>
		<dc:creator>jdsharp</dc:creator>
		<pubDate>Fri, 08 Oct 2010 03:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-168</guid>
		<description>I just replied to Chris&#039; comment. (here&#039;s the gist &lt;a href=&quot;http://gist.github.com/615972&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/615972&lt;/a&gt;)</description>
		<content:encoded><![CDATA[<p>I just replied to Chris&#39; comment. (here&#39;s the gist <a href="http://gist.github.com/615972" rel="nofollow">http://gist.github.com/615972</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdsharp</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-166</link>
		<dc:creator>jdsharp</dc:creator>
		<pubDate>Fri, 08 Oct 2010 02:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-166</guid>
		<description>Hi Chris,&lt;br&gt;&lt;br&gt;There is! Here&#039;s a gist that shows how: &lt;a href=&quot;http://gist.github.com/615972&quot; rel=&quot;nofollow&quot;&gt;http://gist.github.com/615972&lt;/a&gt;&lt;br&gt;&lt;br&gt;Essentially you plugin in data: {} for mockjax to inspect against. It&#039;ll do deep inspection.&lt;br&gt;&lt;br&gt;Cheers,&lt;br&gt;- Jonathan</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>There is! Here&#39;s a gist that shows how: <a href="http://gist.github.com/615972" rel="nofollow">http://gist.github.com/615972</a></p>
<p>Essentially you plugin in data: {} for mockjax to inspect against. It&#39;ll do deep inspection.</p>
<p>Cheers,<br />- Jonathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wwwhack</title>
		<link>http://enterprisejquery.com/2010/07/mock-your-ajax-requests-with-mockjax-for-rapid-development/#comment-167</link>
		<dc:creator>wwwhack</dc:creator>
		<pubDate>Fri, 08 Oct 2010 02:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://enterprisejquery.com/?p=106#comment-167</guid>
		<description>I&#039;ll second ChrisRaven&#039;s point. I&#039;m using a plugin (DataTables) that requires an echo parameter be returned from the server with the same value. Access to the query string would be important for this sort of thing.</description>
		<content:encoded><![CDATA[<p>I&#39;ll second ChrisRaven&#39;s point. I&#39;m using a plugin (DataTables) that requires an echo parameter be returned from the server with the same value. Access to the query string would be important for this sort of thing.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 4/6 queries in 0.002 seconds using apc
Content Delivery Network via ejq.a2cdn.net

Served from: www.enterprisejquery.com @ 2012-05-17 23:59:12 -->
