<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Thoughts from Mads Sülau Jørgensen &#187; Client</title> <atom:link href="http://madssj.com/blog/tag/client/feed/" rel="self" type="application/rss+xml" /><link>http://madssj.com/blog</link> <description>Various articles about programming and systems administration.</description> <lastBuildDate>Mon, 27 Jun 2011 08:54:43 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Django compatible PyAMF test client</title><link>http://madssj.com/blog/2009/04/21/django-compatible-pyamf-test-client/</link> <comments>http://madssj.com/blog/2009/04/21/django-compatible-pyamf-test-client/#comments</comments> <pubDate>Tue, 21 Apr 2009 13:18:19 +0000</pubDate> <dc:creator>Mads Sülau Jørgensen</dc:creator> <category><![CDATA[Django]]></category> <category><![CDATA[flash]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Python]]></category> <category><![CDATA[Work]]></category> <category><![CDATA[Client]]></category> <category><![CDATA[PyAMF]]></category> <category><![CDATA[Test]]></category> <guid
isPermaLink="false">http://swag.dk/blog/?p=92</guid> <description><![CDATA[While working on a project using PyAMF today, i was about to write a unittest of a service method, when I realized that it would be harder than necessary to make unittests of the service. The cause of this is, &#8230; <a
href="http://madssj.com/blog/2009/04/21/django-compatible-pyamf-test-client/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>While working on a project using <a
href="http://pyamf.org/">PyAMF</a> today, i was about to write a unittest of a service method, when I realized that it would be harder than necessary to make unittests of the service. The cause of this is, that there was no test client wrapper for the django test client for pyamf, which means, that to do a unittest of the gateway, you&#8217;ll have to start a django server, and run a unittest elsewhere.</p><p>Seeing as how there are a lot of benefits to using djangos own test suite (fixtures and automatic database generation to name a few), i set out to write a little test client for PyAMF to utilize django&#8217;s test client, so it would be possible to write a proper test suite.</p><p>This turned out great, and is now <a
href="http://pyamf.org/ticket/508">ticket 508</a> over at PyAMFs trac. Look at the <a
href="http://pyamf.org/attachment/ticket/508/client.py">client.py</a> for the code. At some point, it will be integrated into PyAMF mainline as <code>p.r.c.django.TestClient</code> (or something like that).</p> ]]></content:encoded> <wfw:commentRss>http://madssj.com/blog/2009/04/21/django-compatible-pyamf-test-client/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
