waterline-adapter-tests
Integration tests for waterline adapters
Last updated 2 years ago by mikermcneil .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install waterline-adapter-tests 
SYNC missed versions from official npm registry.

Waterline Adapter Tests

Build Status npm version Dependency Status

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 = require('mocha');
var TestRunner = require('waterline-adapter-tests');


/**
 * Integration Test Runner
 *
 * Uses the `waterline-adapter-tests` module to
 * run mocha tests against the specified interfaces
 * of the currently-implemented Waterline adapter API.
 */
new TestRunner({

	// Load the adapter module.
	adapter: require('./relative/path/to/your/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.

Current Tags

  • 1.0.1                                ...           latest (2 years ago)

45 Versions

  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 1.0.0-13                                ...           3 years ago
  • 1.0.0-12                                ...           3 years ago
  • 1.0.0-11                                ...           3 years ago
  • 1.0.0-10                                ...           3 years ago
  • 1.0.0-9                                ...           3 years ago
  • 1.0.0-8                                ...           3 years ago
  • 1.0.0-7                                ...           3 years ago
  • 1.0.0-6                                ...           3 years ago
  • 1.0.0-5                                ...           3 years ago
  • 1.0.0-4                                ...           3 years ago
  • 0.11.2                                ...           3 years ago
  • 1.0.0-3                                ...           4 years ago
  • 1.0.0-2                                ...           4 years ago
  • 1.0.0-1                                ...           4 years ago
  • 0.12.1                                ...           4 years ago
  • 0.12.0                                ...           4 years ago
  • 0.11.1                                ...           4 years ago
  • 0.11.0                                ...           4 years ago
  • 0.10.19                                ...           4 years ago
  • 0.10.18                                ...           4 years ago
  • 0.10.17                                ...           4 years ago
  • 0.10.16                                ...           4 years ago
  • 0.10.15                                ...           5 years ago
  • 0.10.14                                ...           5 years ago
  • 0.10.13                                ...           5 years ago
  • 0.10.12                                ...           5 years ago
  • 0.10.11                                ...           5 years ago
  • 0.10.10                                ...           5 years ago
  • 0.10.9                                ...           5 years ago
  • 0.10.8                                ...           5 years ago
  • 0.10.7                                ...           5 years ago
  • 0.10.6                                ...           6 years ago
  • 0.10.5                                ...           6 years ago
  • 0.10.4                                ...           6 years ago
  • 0.10.3                                ...           6 years ago
  • 0.10.2                                ...           6 years ago
  • 0.10.1                                ...           6 years ago
  • 0.10.0                                ...           6 years ago
  • 0.9.4                                ...           7 years ago
  • 0.9.3                                ...           7 years ago
  • 0.9.2                                ...           7 years ago
  • 0.9.1                                ...           7 years ago
  • 0.9.0                                ...           7 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (6)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |