Adding travis_fold logging around each test (#1879)

Replace individual .travis.yml commands and test_runner.js with tests/run_all_tests.sh, which manages the travis_fold statements and accumulating the output of all the test phases.

This script is now in charge of test_setup.sh (previously handled by npm pretest script). It also adds green/red color coding to each test section, based on success and failure.
This commit is contained in:
Andrew n marshall
2018-05-22 17:23:01 -07:00
committed by GitHub
parent ffe779bb6c
commit 9b8704f4bc
5 changed files with 135 additions and 76 deletions

View File

@@ -20,8 +20,7 @@
"scripts": {
"prepare": "gulp blockly_javascript_en",
"lint": "eslint .",
"pretest": "tests/scripts/test_setup.sh",
"test": "node tests/test_runner.js"
"test": "tests/run_all_tests.sh"
},
"license": "Apache-2.0",
"private": true,