Provides test-cases for common interfaces used in alamid-modules. By running these tests we're able to provide consistent apis across different modules.
You can run the tests for the specific interface by calling
var tests = require("alamid-interface-tests");
tests.run(interfaceName, targetToTest);
while interfaceName
is one of the following strings:
Suggestions and bug-fixes are always appreciated. Don't hesitate to create an issue or pull-request. All contributed code should pass
- the tests in node.js by running
npm test
- the tests in all major browsers by running
npm run-script test-browser
and then vistinghttp://localhost:8080/bundle