Update CLI docs. 57/31657/1
authorTaseer <taseer94@gmail.com>
Fri, 24 Mar 2017 06:09:13 +0000 (11:09 +0500)
committerTaseer <taseer94@gmail.com>
Fri, 24 Mar 2017 06:10:46 +0000 (11:10 +0500)
- Update command to execute runner
- Include reporter

JIRA: QTIP-231

Change-Id: I834ac94821cea7221078fbb6160ef7467b2bd4cf
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
docs/testing/user/userguide/cli.rst

index e18a36f..19420bd 100644 (file)
@@ -12,13 +12,13 @@ along with a short description.
 
   qtip [-h|--help]
 
-Typically a complete plan is executed at the
-target environment. QTIP defaults to a number of sample plans. One may be able to list them using
+Typically a complete plan is executed at the target environment. QTIP defaults to a number of sample plans.
+A list of all the available plans can be viewed
 ::
 
   qtip plan list
 
-One can also be able to view the details about a specific plan.
+In order to view the details about a specific plan.
 ::
 
   qtip plan show <plan_name>
@@ -28,10 +28,23 @@ where *plan_name* is one of those listed from the previous command.
 To execute a complete plan
 ::
 
-  qtip plan run <plan_name>
+  qtip plan run <plan_name> -p <path_to_result_directory>
+
+QTIP does not limit result storage at a specific directory. Instead a user may specify his own result storage
+as above. An important thing to remember is to provide absolute path of result directory.
+::
+
+  mkdir result
+  qtip plan run <plan_name> -p $PWD/result
 
 Similarly, the same commands can be used for the other two components making up the plans, i.e QPI's and metrics.
 
+QTIP also provides the utility to view benchmarking results on the console. One just need to provide to where
+the results are stored. Extending the example above
+::
+
+  qtip report show <metric_name> -p $PWD/result
+
 Debug option helps identify the error by providing a detailed traceback. It can be enabled as
 ::