0.0.2 • Published 11 years ago

gobind-db-tests v0.0.2

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
11 years ago

Gobind db tests

Tests for gobind database adapters

Usage

  • Step 1 - Install required dependencies
npm install -g mocha # test runner

npm install --save-dev gobind-db-tests # test assertions
  • Step 2 - Create test file
// test.js

// change to actual location of file
var db = require('./index.js');

require('gobind-db-tests')('name', db);
  • Step 3 - Add to package.json
{
	...

	"scripts": {
		"test": "mocha --bail --harmony --reporter spec test.js"
	}

	...
}
  • Step 4 - Run tests
npm test
0.0.2

11 years ago

0.0.1

11 years ago