ohif-viewer/test
2018-07-05 21:55:03 +02:00
..
README.md Feature/test suite (#169) 2018-03-27 11:50:40 +02:00
testApp.sh Add Travis CI setup with Gitbook build / deploy to gh-pages, StandaloneViewer build / deploy to AWS S3, and ohif/viewer docker image build / push to dockerhub 2018-07-05 21:55:03 +02:00
testPackages.sh Feature/test suite (#169) 2018-03-27 11:50:40 +02:00

Tests suite

Tools

  1. https://guide.meteor.com/testing.html
  2. https://guide.meteor.com/writing-atmosphere-packages.html#testing

Usage

$ cd Viewers
$ ./test/testPackages.sh [-c] -s
# -c for coverage | -s for spacejam

You can add more packages to be tested changing the line 7 in testPackages.sh:

TEST_PACKAGES=./Packages/ohif-viewerbase ./Packages/ohif-core ./Packages/ohif-etc

it does not work using path patterns like ./Packages/* or ./Packages/

Just open http://localhost:3000 in your browser. The page going to be refreshed everytime you change the code.

Note: if you want to use spacejam, just install it before running.