Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "RunningTests" page has been changed by Carlos: https://wiki.apache.org/cordova/RunningTests?action=diff&rev1=17&rev2=18 * [[iOSManualTests | iOS Manual Tests]] + == Testing Cordova and Plugman Node CLI == + + === Tips using jasmine-node === + + 1. Use "npm test" this calls > package.json "scripts": { "test": "jasmine-node --color spec"} + Remember when using npm jasmine-node binary is added to the $PATH temporarily + + 2. If something breaks "red F", then run verbose. "./node_modules/jasmine-node/bin/jasmine-node spec --verbose" + Very useful to pin point spec.js that has the failing test, then do step 3 + + 3. To run a single spec.js use "./node_modules/jasmine-node/bin/jasmine-node spec/run.spec.js --verbose" + Much faster iteration, code & test. But remember to run full suite before pushing code + + 4. Don't run global "jasmine-node", it might be a different version than the one in cordoval-cli/plugman package.json +
