Major updates for testing and grunt, jenkins tests are now powered by the jenkins.sh script in the scripts directory.

This commit is contained in:
Spencer Alger
2013-12-12 15:39:42 -07:00
parent 270763e0a7
commit 345ac776ef
68 changed files with 1628 additions and 8790 deletions

19
scripts/jenkins.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
echo "generate the latest version of the yaml-tests"
node scripts/generate/ --no-api 2>&1 > /dev/null
echo "\n--- unit ---"
./node_modules/.bin/mocha test/unit/test_*.js \
--require should \
--reporter ../../../test/utils/jenkins-reporter.js \
2> test-output-node-unit.xml
echo "\n--- integration ---"
# run the integration tests
./node_modules/.bin/mocha test/integration/yaml_suite/index.js \
--require should \
--host localhost \
--port $es_port \
--reporter ../../../test/utils/jenkins-reporter.js \
2> test-output-node-integration.xml