1.0.0 • Published 6 years ago
nate-ttest-directsdk v1.0.0
Installation
On Dev box:
cd www
npm install
On VM
cd ~/repositories/spotx-js-directsdk
./bin/switch.sh
Build harness test (on Dev Box)
- Single time
cd www
./node_modules/.bin/gulp
open http://local.search.spotxchange.com/test/ad/js/directsdk/TEST.html in browser
- Rebuild on every change and reload page
cd www
./node_modules/.bin/gulp watch
- open http://local.search.spotxchange.com/test/ad/js/directsdk/TEST.html in browser
- Page will refresh on next modification in TypeScript source
Running tests (on Dev Box)
- Rebuild everything and run single time:
cd www
./node_modules/.bin/gulp tests
- Watch for changes in TypeScript code and run tests on every change
cd www
./node_modules/.bin/gulp watch-tests
Running Karma tests (much faster than 1 and 2, but skips compilation steps, could be used in cobination with #2)
cd www
./node_modules/karma/bin/karma start ./ts/test/config/karma.conf.js
1.0.0
6 years ago