Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.7 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.7 KB

auvsisuas-client-node

Build Status Code Climate Test Coverage npm

Promise-based communication library for the AUVSI SUAS Interoperability System

See the documentation for more information.

Installation

To develop the library locally, clone the library and run npm install to fetch all dependencies and to transpile the source.

git clone https://github.com/uavaustin/auvsisuas-client-node
cd auvsisuas-client-node
npm install

Testing

To run the tests, ensure Docker is installed and that your user has the right permissions for Docker (so you don't have to type sudo all the time).

npm test will pull the interop server Docker image if needed, start it, transpile the source, and then run the mocha tests when the server is up.

Note that npm test will not turn the server off when it is finished (this is so you may look at the server and debug any problems then). When the test command starts it will delete the old server if it is still there.