aboutsummaryrefslogtreecommitdiffstats
path: root/docs/user_guide_verification_program.rst
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2018-06-06 09:12:28 +0000
committerGerrit Code Review <gerrit@onap.org>2018-06-06 09:12:28 +0000
commite477205083d70183ce212fce1bf76e4bd19dda96 (patch)
tree875a69566def9b4f8981687635df3f8ca8e9d1c8 /docs/user_guide_verification_program.rst
parente7683dccd9af4c7b7c7ed3eaa7837113db2de81d (diff)
parent7b38bf64c354ede870b7cd0ab88f02b031d1d0f6 (diff)
Merge "Update the verification program guide" into 2.0.2
Diffstat (limited to 'docs/user_guide_verification_program.rst')
-rw-r--r--docs/user_guide_verification_program.rst17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/user_guide_verification_program.rst b/docs/user_guide_verification_program.rst
index e944d8e5..462badb8 100644
--- a/docs/user_guide_verification_program.rst
+++ b/docs/user_guide_verification_program.rst
@@ -8,4 +8,19 @@
CLI verification program
==============================================
-TBD. \ No newline at end of file
+Verification program helps the author to setup the mocking environment for the HTTP profile (and
+in future it could be extended to other profile) for authoring the testing the CLI OCS YAMLs.
+
+It provides the model based test environment where author needs to setup following aspects:
+
+# Write the moco json which capture the HTTP request and response in moco style
+
+# Write the sample YAML which capture the one or more functional test case(s)
+
+# Place them under open-cli-sample directory under OPEN_CLI_HOME
+
+Once this setup is done, author can verify the OCS YAML by running the following CLI ::
+
+ oclip <command name> --verify | -V
+
+It will list out the success/failure of each test cases written in sample YAML.