Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 63183 invoked from network); 27 Dec 2009 21:58:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Dec 2009 21:58:28 -0000 Received: (qmail 73661 invoked by uid 500); 27 Dec 2009 21:58:27 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 73585 invoked by uid 500); 27 Dec 2009 21:58:26 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 73575 invoked by uid 99); 27 Dec 2009 21:58:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 21:58:26 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.249.119.34] (HELO server.rogerbinns.com) (63.249.119.34) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Dec 2009 21:58:17 +0000 Received: from [192.168.1.53] (unknown [192.168.1.53]) by server.rogerbinns.com (Postfix) with ESMTPSA id 51356211202 for ; Sun, 27 Dec 2009 13:57:56 -0800 (PST) Message-ID: <4B37D864.1060104@rogerbinns.com> Date: Sun, 27 Dec 2009 13:57:56 -0800 From: Roger Binns User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: unit testing view/show functions References: <1261940957.1399.121.camel@ana.amantes> In-Reply-To: <1261940957.1399.121.camel@ana.amantes> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Vander Stichele wrote: > The bad part currently is that I have a lot of friction when trying to > write view/show functions. Agreed. For debugging, I think it is possible to serve up the view/show code from the server (or possibly have Futon suck it down client side) and then run that code under Firebug with just enough scaffolding to download the needed documents. I did propose this on the dev list. I don't know enough about client side Javascript to know if Futon can suck down the view/show code and contrive a document good enough for Firebug or if the code has to be served up from the server. http://mail-archives.apache.org/mod_mbox/couchdb-dev/200912.mbox/browser Worst case I'll get around to writing a Python web "proxy" that provides the code in a form sufficient for Firebug. Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAks32F0ACgkQmOOfHg372QTIKACgukitHPIwYvocGqflQGvvYPdM fdEAniWRQW30cXHObq1vA61X93W44TAW =Fxex -----END PGP SIGNATURE-----