summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/tests/runner.py
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-05-06 04:06:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-06 04:06:36 +0000
commit72584d1ed32f4936c49b80a1278d5af19c2a0dad (patch)
tree0469d57bafab5a6a872815e4f605bf0dd1af0300 /robotframework-onap/tests/runner.py
parent1a18e91083fdd58ea528513fdf85db678deeb0c7 (diff)
parent158df8f73cb2988031cd408939681d3ade443b2f (diff)
Merge "fix vcpeutils"
Diffstat (limited to 'robotframework-onap/tests/runner.py')
-rw-r--r--robotframework-onap/tests/runner.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/robotframework-onap/tests/runner.py b/robotframework-onap/tests/runner.py
new file mode 100644
index 0000000..b58215a
--- /dev/null
+++ b/robotframework-onap/tests/runner.py
@@ -0,0 +1,16 @@
+import unittest
+
+# import your test modules
+from tests.vcpeutils.SoUtils_test import *
+
+
+# initialize the test suite
+loader = unittest.TestLoader()
+suite = unittest.TestSuite()
+
+# add tests to the test suite
+suite.addTests(loader.loadTestsFromTestCase(SoUtilsTest))
+
+# initialize a runner, pass it your suite and run it
+runner = unittest.TextTestRunner(verbosity=3)
+result = runner.run(suite)