Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nisaacson/account-test
- Owner: nisaacson
- Created: 2013-05-01T03:07:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-01T04:10:06.000Z (over 11 years ago)
- Last Synced: 2024-10-11T17:32:42.964Z (about 1 month ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)
})
```