Waterline Adapter Tests
A set of integration tests that can be included in your Waterline Adapter module and used to test your adapter against the current Waterline API.
Adapter Interface Specification
Usage
Write a test runner
i.e.
runner.js
/** * Test runner dependencies */var mocha = ;var TestRunner = ; /** * Integration Test Runner * * Uses the `waterline-adapter-tests` module to * run mocha tests against the specified interfaces * of the currently-implemented Waterline adapter API. */ // Load the adapter module. adapter: // Default adapter config to use. config: schema: false // The set of adapter interfaces to test against. interfaces: 'semantic' 'queryable';
Run the tests
$ node runner.js
MIT License
See LICENSE.md.