From cfb6c415424c1b1529ccc3368fc052ea96096d83 Mon Sep 17 00:00:00 2001 From: Erjan Gavalji Date: Mon, 26 Oct 2015 15:02:47 +0200 Subject: [PATCH] Fix the casing of the modulesPath argument; update the readme --- build/run-testsapp.grunt.js | 2 +- running-tests.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build/run-testsapp.grunt.js b/build/run-testsapp.grunt.js index 7e7c1c91a..3c9204ffd 100644 --- a/build/run-testsapp.grunt.js +++ b/build/run-testsapp.grunt.js @@ -8,7 +8,7 @@ module.exports = { //Construct and validate the arguments var args = { platform: grunt.option("platform"), - modulesPath: grunt.option("modulespath"), + modulesPath: grunt.option("modulesPath"), tnsPath: grunt.option("tnsPath"), emulatorProcessIdentifier: grunt.option("emuPId"), emuAvdName: grunt.option("avd"), diff --git a/running-tests.md b/running-tests.md index 2102c1c87..63a56ead4 100644 --- a/running-tests.md +++ b/running-tests.md @@ -35,6 +35,9 @@ split to a separate file for simplicity. - `platform`: The platform to run the tests application on: iOS or Android - `showEmu`: [Optional] Specifies whether the emulator should get launched in a window or headless mode. Defaults to `false`. +- `modulesPath`: [Optional] The path to the tns-core-modules npm package +to be tested. Defaults to the npm package, located in the current +`bin/dist/` folder. The modules must have been built before that. - `tnsPath`: [Optional] The path to the NativeScript executable. If not found, the globally installed `tns` gets called. - `emuPId`: The ID of the emulator process. This one is used to refresh the