Filefog Provider Tests
A set of integration tests that can be included in you FileFog Provider module and used to test
your provider against the current FileFog API.
FileFog Interface Specification
Usage
Write a test runner
i.e. runner.js
var mocha = require('mocha');
var TestRunner = require('filefog-provider-tests');
new TestRunner({
definition: require('./relative/path/to/your/provider'),
s, while the local provider only requires a base_directory. Check the [Reference](https:
for additional interaces, or create your own.
config: {
client_key : '777041726477-a5o1tp6f3i9m1me3tj5vhpnrn1jge43c.apps.googleusercontent.com',
client_secret : 'mWURYHmMKZxr6aeR7DTjRu-q',
client_scope : "https://www.googleapis.com/auth/drive",
redirect_url : 'http://localhost:3000/service/callback/google'
},
interfaces: ["oauth", "events", "webhooks"]
});
Run the tests
$ node runner.js
MIT License
See LICENSE.md.