Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 13277 invoked from network); 21 Jul 2009 16:45:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jul 2009 16:45:39 -0000 Received: (qmail 32076 invoked by uid 500); 21 Jul 2009 16:46:44 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 32034 invoked by uid 500); 21 Jul 2009 16:46:43 -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 32024 invoked by uid 99); 21 Jul 2009 16:46:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 16:46:43 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gurdiga@gmail.com designates 209.85.218.225 as permitted sender) Received: from [209.85.218.225] (HELO mail-bw0-f225.google.com) (209.85.218.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2009 16:46:34 +0000 Received: by bwz25 with SMTP id 25so3318802bwz.11 for ; Tue, 21 Jul 2009 09:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6dhSd7f2OJd8Z1F0WNHNWlZmjcjIGzhierGp6pYW28Q=; b=rIGLD8WzRA0fM2Fq1rIs86nfTHyELfHcG3JExfSYxfp0UR+5bvFG3H6mEpKj5GrR5u TLC3sR/iH7rIlfPNtzR7BhV+HRrKxzCtpjhvWnvK2r/oRhhPSwfXzIADgcUCeyjWovkz kuJMq9L9DJ3jTqxCH7Usewe5KygXAg854bLQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=lZRcpCE5jFAxJJDSaWcT5zCOzVr2RV0KvH+cS/QQpgLtbs+YjEN2E/8+V/EJ/ZcyXg MHfAahLlai33XBQEYXck+8r5v/EIyuSjVpnVvmwbtFtMqXeWLDKeeDd1TN+0qMCRogvQ CLcQ1yIcXG+YOroFkQG08rpqs2B9xJO9xbsGA= MIME-Version: 1.0 Received: by 10.103.1.17 with SMTP id d17mr25206mui.93.1248194771124; Tue, 21 Jul 2009 09:46:11 -0700 (PDT) In-Reply-To: <4A65ED9B.4060300@gmail.com> References: <4A65ED9B.4060300@gmail.com> Date: Tue, 21 Jul 2009 19:46:11 +0300 Message-ID: Subject: Re: server-side Javascript code testing From: Vlad GURDIGA To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OK, that's more like it!! I'll definitely have a look at that. Thank you Filippo! On Tue, Jul 21, 2009 at 7:32 PM, Filippo Pacini wrote: > Hi Vlad, > we have a small unit testing library that runs under spidermonkey with > limited functionality. > > The unit testing is part of some tools we use in websites > http://github.com/filippo/sgjs/tree/master > > The files of interest for you are: > lib/sgUtil.js > lib/sgUnit.js > > For some examples: > test/test_sgFun.js > test/test_sgUnit.js > > cheers, > filippo > > Vlad GURDIGA wrote: >> Hi! >> >> Writing a more-than-trivial app for CouchDB would require some amount >> of server-side code. Is there a testing framework for testing >> server-side Javascript code? >> > >