5.9.0 • Published 5 years ago
jsroot-test v5.9.0
jsroot-test
JavaScript ROOT testing with Node.js v8
This is set of tests for basic JSROOT functionality, using Node.js. On the first place one checks generation of SVG files.
Installing
Clone JSROOT repository on the same level as this one:
[shell] git clone https://github.com/root-project/jsroot.git
[shell] git clone https://github.com/linev/jsroot-test.gitAfter clone repository install all necessary modules:
[shell] cd jsroot-test
[shell] npm installOne could also use specific tags of JSROOT and appropriate tag in the tests
Running
Run tests and verify test SVG files:
[shell] node test.js [--verify]Run tests only for TH1:
[shell] node test.js --key TH1Run tests and overwrite test SVG files:
[shell] node test.js --createRun more tests:
[shell] node test.js --create --moreIf SVG file differs from stored in repository, difference can be checked with command:
[shell] ./testdiff.sh TH1/TH1.svg 5.9.0
5 years ago