From 7b38bf64c354ede870b7cd0ab88f02b031d1d0f6 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Mon, 4 Jun 2018 22:13:45 +0530 Subject: Update the verification program guide Issue-ID: CLI-114 Change-Id: I2a8060179908bdf4feb0aa905b556a46fa7ba905 Signed-off-by: Kanagaraj Manickam k00365106 (cherry picked from commit a34d77abb5fa01645d688229ffb498da64c2bcbe) --- docs/user_guide_verification_program.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'docs') 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 --verify | -V + +It will list out the success/failure of each test cases written in sample YAML. -- cgit 1.2.3-korg