You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2017/04/12 18:08:35 UTC
cordova-coho git commit: CB-12647 : added jasmine testing to
cordova-coho
Repository: cordova-coho
Updated Branches:
refs/heads/master 68026cde1 -> 8cedcf240
CB-12647 : added jasmine testing to cordova-coho
This closes #145
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/8cedcf24
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/8cedcf24
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/8cedcf24
Branch: refs/heads/master
Commit: 8cedcf240856fd486b5518e30c3b1d91aa3a4fd4
Parents: 68026cd
Author: Audrey So <au...@apache.org>
Authored: Tue Apr 11 10:07:03 2017 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Wed Apr 12 11:08:24 2017 -0700
----------------------------------------------------------------------
package.json | 6 +++++-
spec/support/jasmine.json | 8 ++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/8cedcf24/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 748bbab..caaa264 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"co": "~3.0",
"glob": "^5.0.14",
"gnode": "^0.1.0",
+ "jasmine": "^2.5.3",
"jira-linkify": "^2.2.3",
"nlf": "^1.4.3",
"opener": "^1.4.1",
@@ -29,7 +30,10 @@
"tape-runner": "^0.3.0"
},
"scripts": {
- "test": "node test/test.js | tap-spec"
+ "oldtest": "node test/test.js | tap-spec",
+ "test": "npm run jasmine",
+ "cover": "istanbul cover --root src --print detail jasmine",
+ "jasmine": "jasmine --captureExceptions --color"
},
"repository": {
"type": "git",
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/8cedcf24/spec/support/jasmine.json
----------------------------------------------------------------------
diff --git a/spec/support/jasmine.json b/spec/support/jasmine.json
new file mode 100644
index 0000000..b9fe72c
--- /dev/null
+++ b/spec/support/jasmine.json
@@ -0,0 +1,8 @@
+{
+ "spec_dir": "spec",
+ "spec_files": [
+ "**/*[sS]pec.js"
+ ],
+ "stopSpecOnExpectationFailure": false,
+ "random": false
+}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org