mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
Add a node and npm package.json script for running java unit tests. Include them in the top-level npm test script. Run java unit tests in travis. Small refactor in gradlebuilder to support building gradle wrapper more easily. Don't explicitly build gradlew on appveyor CI as now npm test will do it for you.
This commit is contained in:
+2
-1
@@ -19,10 +19,11 @@
|
||||
"apache"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "npm run eslint && npm run unit-tests && npm run e2e-tests",
|
||||
"test": "npm run eslint && npm run unit-tests && npm run java-unit-tests && npm run e2e-tests",
|
||||
"unit-tests": "jasmine --config=spec/unit/jasmine.json",
|
||||
"cover": "istanbul cover --root bin --print detail jasmine -- --config=spec/unit/jasmine.json",
|
||||
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
|
||||
"java-unit-tests": "cd test && node run_java_unit_tests.js && cd ..",
|
||||
"eslint": "eslint bin && eslint spec"
|
||||
},
|
||||
"author": "Apache Software Foundation",
|
||||
|
||||
Reference in New Issue
Block a user