nodeunit-basex

Run BaseX unit tests in nodeunit.

Usage no npm install needed!

<script type="module">
  import nodeunitBasex from 'https://cdn.skypack.dev/nodeunit-basex';
</script>

README

nodeunit-basex Build Status

Run BaseX unit tests in nodeunit.

Getting Started

Install the module with: npm install nodeunit-basex

Run all *[.-_]test.xqm modules inside a testdir:

var bxunit = require('nodeunit-basex');

exports['my-xquery-tests'] = function(test){
    bxunit(test, 'path/to/xquery/tests/');
};

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Alexandros Sigalas. Licensed under the MIT license.