Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nisaacson/account-test

Test suite for account interface implementations
https://github.com/nisaacson/account-test

Last synced: about 1 month ago
JSON representation

Test suite for account interface implementations

Awesome Lists containing this project

README

        

# 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](https://github.com/nisaacson/account-couch) module for an example

[![Build Status](https://travis-ci.org/nisaacson/account-test.png?branch=master)](https://travis-ci.org/nisaacson/account-test)
[![Dependency Status Status](https://david-dm.org/nisaacson/account-test.png)](https://david-dm.org/nisaacson/account-test)

# Usage

```javascript
// 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)
})
```