From 01053972476a0891ba27010d4b56ee383a1d4906 Mon Sep 17 00:00:00 2001 From: Shruti Ranganathan Jothi Date: Wed, 1 Mar 2017 10:25:56 -0800 Subject: [PATCH] update input arg for node.js test in README example --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index c81df75..db009b7 100644 --- a/README +++ b/README @@ -93,20 +93,20 @@ The file tests.js is a batch runner and will run all the tests serially. It takes the following arguments: host: - application: Name of the application to test against(eg: Netflix, YouTube) + app: Name of the application to test against (eg: Netflix, YouTube) timeToWaitForStateChange: Some of these tests wait for application state changes before querying for application status. Default is 5000(ms) Example: server/tests/js_tests/tests> node tests.js host= -application="Netflix" timeToWaitForStateChange=2000 +app="Netflix" timeToWaitForStateChange=2000 To run each test independantly and not through test.js, just call the appropriate test file name instead of test.js. Example: server/tests/js_tests/tests> node discoverServerUnderTest.js -host= application="Netflix" timeToWaitForStateChange=2000 +host= app="Netflix" timeToWaitForStateChange=2000 Any application specific setup/requirements should be taken care of before running these tests.