netjsongraph.js icon indicating copy to clipboard operation
netjsongraph.js copied to clipboard

[GSoC17] Unit tests + travis-ci.org build

Open nemesifier opened this issue 8 years ago • 6 comments

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

nemesifier avatar Aug 20 '15 21:08 nemesifier

@ralphtheninja suggests https://github.com/substack/tape :+1:

nemesifier avatar Aug 25 '15 17:08 nemesifier

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.

ralphtheninja avatar Aug 25 '15 17:08 ralphtheninja

@geekplux can you work on this next please?

nemesifier avatar May 31 '17 14:05 nemesifier

yep, next step we should add the test and CI

geekplux avatar May 31 '17 15:05 geekplux

What's the status of this issue?

nemesifier avatar Jul 21 '17 16:07 nemesifier

done

geekplux avatar Jul 21 '17 18:07 geekplux