couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filippo Pacini <filippo.pac...@gmail.com>
Subject Re: server-side Javascript code testing
Date Tue, 21 Jul 2009 16:32:27 GMT
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?
> 


Mime
View raw message