A generalized port of the CouchDB JavaScript test harness.

npm install couchdb-harness
1 downloads in the last day
14 downloads in the last week
60 downloads in the last month

CouchDB Harness

A generalized port of the CouchDB JavaScript test harness.


npm install couchdb-harness


Command Line

To run the default configuration, you can simply type,

$ npm start

But the binary also accepts arguments to specify the port that the harness should run against, as well as which files to test,

./bin/couchdb-harness -p 5984 basics all_docs


var harness = require('couchdb-harness');, ['basics', 'all_docs'], function (exitCode) {


Copyright 2013 Nick Thompson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

npm loves you