From: Mazliana <mazliana.moha...@intel.com>

Integrated the test-case-mgmt "store", "report" with "manual execution".Manual 
test execution is one
of an alternative test case management tool of Testopia. This script has only a 
bare-minimum function.
Bare-minimum function refer to function where the user can only execute all of 
the test cases that
component have.

To use these scripts, first source oe environment, then run the entry point 
script to look for help.
        $ test-case-mgmt

To execute manual test cases, execute the below
        $ test-case-mgmt manualexecution <manualjsonfile>

By default testresults.json store in poky/<build_dir>/tmp/log/manual

[YOCTO #12651]

Signed-off-by: Mazliana <mazliana.moha...@intel.com>
---
 scripts/test-case-mgmt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/scripts/test-case-mgmt b/scripts/test-case-mgmt
index b832ee2..ef69db4 100755
--- a/scripts/test-case-mgmt
+++ b/scripts/test-case-mgmt
@@ -17,6 +17,11 @@
 # To store test result & log, execute the below
 #    $ test-case-mgmt store <source_dir> <git_branch>
 #
+# To execute manual test cases, execute the below
+#    $ test-case-mgmt manualexecution <manualjsonfile>
+#
+# By default testresults.json for manualexecution in 
poky/<build>/tmp/log/manual/
+#
 # Copyright (c) 2018, Intel Corporation.
 #
 # This program is free software; you can redistribute it and/or modify it
@@ -40,6 +45,7 @@ import argparse_oe
 import scriptutils
 import testcasemgmt.store
 import testcasemgmt.report
+import testcasemgmt.manualexecution
 logger = scriptutils.logger_create('test-case-mgmt')
 
 def _validate_user_input_arguments(args):
@@ -74,6 +80,8 @@ def main():
     testcasemgmt.store.register_commands(subparsers)
     subparsers.add_subparser_group('report', 'Reporting for test result & 
log', 200)
     testcasemgmt.report.register_commands(subparsers)
+    subparsers.add_subparser_group('manualexecution', 'Execute manual test 
cases', 100)
+    testcasemgmt.manualexecution.register_commands(subparsers)
     args = parser.parse_args()
     if args.debug:
         logger.setLevel(logging.DEBUG)
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to