Add more parameters. Add a basic readme for running the tests

This commit is contained in:
Erjan Gavalji
2015-10-21 15:15:50 +03:00
parent 4b37a7ec95
commit 58d05747cd
2 changed files with 34 additions and 2 deletions

View File

@@ -6,6 +6,11 @@ module.exports = {
//Construct and validate the arguments
var args = {
platform: grunt.option("platform")
tnsPath: grunt.option("tnsPath")
emulatorProcessIdentifier: grunt.option("emuPId")
emuAvdName: grunt.option("avdNameToStart")
outFile: grunt.option("logFilePath")
androidRuntimePath: grunt.option("androidRuntimePath")
};
(function validateInput(){
@@ -16,9 +21,7 @@ module.exports = {
tnsPath: "tns",
emulatorProcessIdentifier:".*emulator64-x86",
emuAvdName:"Api19",
androidRuntimePath:"/Users/erjan/tns-android.tgz",
outfile:"./TestRunResult.txt",
androidRuntimePath: "/Users/erjan/tns-android.tgz",
androidFrameworkArgument: " --frameworkPath=/Users/erjan/tns-android.tgz",
workingDir:".testsapprun",