netjsongraph.js
netjsongraph.js copied to clipboard
[GSoC17] Unit tests + travis-ci.org build
Unit tests are currently missing.
It would be good to have javascript based tests of the main features and an automated travis build.
The main features are:
- ensure NetJSON Graph is converted correctly
- ensure the right number of nodes is created
- ensure the right number of links is created
- ensure metadata overlay is displayed correctly
- ensure information overlay is displayed when clicking on nodes
- ensure information overlay is displayed when clicking on links
@ralphtheninja suggests https://github.com/substack/tape :+1:
I'd try to break apart the functionality as much as possible and put into separate files for easier testing and then have a main file, e.g. index.js
that pulls in the different parts.
@geekplux can you work on this next please?
yep, next step we should add the test and CI
What's the status of this issue?
done