node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

account-test

Account Test

Test suite for account interface implementations. This module is intended to be used in a mocha-based test suite for a specific account implementation. See the account-couch module for an example

Build Status Dependency Status Status

Usage

// instatiate a new Account Redis object 
var AccountRedis = require('account-redis')
var accountRedis = new AccountRedis(host, port, opts)
describe('Account Redis Implementation Test', function () {
  var testLib = require('account-test')
  // run all the interface tests using the instatiated account redis module 
  testLib(accountRedis)
})