Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] scripts/test-case-mgmt: add "manualexecution" as a tool
@ 2018-12-06 10:59 mazliana.mohamad
  2018-12-06 10:59 ` [PATCH 2/2] script/lib/testcasemgmt/manualexecution.py : manual helper script with bare-minimum function mazliana.mohamad
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: mazliana.mohamad @ 2018-12-06 10:59 UTC (permalink / raw)
  To: openembedded-core

From: Mazliana <mazliana.mohamad@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.mohamad@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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-06 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-06 10:59 [PATCH 1/2] scripts/test-case-mgmt: add "manualexecution" as a tool mazliana.mohamad
2018-12-06 10:59 ` [PATCH 2/2] script/lib/testcasemgmt/manualexecution.py : manual helper script with bare-minimum function mazliana.mohamad
2018-12-06 12:07   ` Mohamad, Mazliana
2018-12-06 11:33 ` ✗ patchtest: failure for "scripts/test-case-mgmt: add "m..." and 1 more Patchwork
2018-12-06 12:08 ` FW: [PATCH 1/2] scripts/test-case-mgmt: add "manualexecution" as a tool Mohamad, Mazliana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox