robotframework-robotlog2db 1.5.0__tar.gz → 1.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/PKG-INFO +3 -1
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/README.rst +2 -1
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/RobotLog2DB.pdf +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/robotlog2db.py +11 -4
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/version.py +2 -2
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/PKG-INFO +3 -1
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/__init__.py +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/__main__.py +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/xsd/robot.xsd +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/SOURCES.txt +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/dependency_links.txt +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/entry_points.txt +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/requires.txt +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/robotframework_robotlog2db.egg-info/top_level.txt +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/setup.cfg +0 -0
- {robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotframework-robotlog2db
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.2
|
|
4
4
|
Summary: Imports robot result(s) to TestResultWebApp database
|
|
5
5
|
Home-page: https://github.com/test-fullautomation/robotframework-robotlog2db
|
|
6
6
|
Author: Tran Duy Ngoan
|
|
@@ -162,6 +162,8 @@ The usage should be showed as below:
|
|
|
162
162
|
--config CONFIG configuration json file for component mapping information.
|
|
163
163
|
--interface {db,rest}
|
|
164
164
|
database access interface.
|
|
165
|
+
--testrunurl TESTRUNURL
|
|
166
|
+
link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...
|
|
165
167
|
|
|
166
168
|
The below command is simple usage with all required arguments to import
|
|
167
169
|
Robot Framework results into TestResultWebApp\'s database:
|
|
@@ -135,7 +135,8 @@ The usage should be showed as below:
|
|
|
135
135
|
--config CONFIG configuration json file for component mapping information.
|
|
136
136
|
--interface {db,rest}
|
|
137
137
|
database access interface.
|
|
138
|
-
|
|
138
|
+
--testrunurl TESTRUNURL
|
|
139
|
+
link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...
|
|
139
140
|
|
|
140
141
|
The below command is simple usage with all required arguments to import
|
|
141
142
|
Robot Framework results into TestResultWebApp's database:
|
{robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/RobotLog2DB.pdf
RENAMED
|
Binary file
|
{robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/robotlog2db.py
RENAMED
|
@@ -58,7 +58,8 @@ from RobotLog2DB.version import VERSION, VERSION_DATE
|
|
|
58
58
|
DRESULT_MAPPING = {
|
|
59
59
|
"PASS": "Passed",
|
|
60
60
|
"FAIL": "Failed",
|
|
61
|
-
"UNKNOWN": "Unknown"
|
|
61
|
+
"UNKNOWN": "Unknown",
|
|
62
|
+
"SKIP": "Unknown"
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
DEFAULT_METADATA = {
|
|
@@ -642,6 +643,7 @@ Avalable arguments in command line:
|
|
|
642
643
|
- `--variant` : variant name to be set for this import.
|
|
643
644
|
- `--versions` : metadata: Versions (Software;Hardware;Test) to be set for this import.
|
|
644
645
|
- `--config` : configuration json file for component mapping information.
|
|
646
|
+
- `--testrunurl`: link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...
|
|
645
647
|
|
|
646
648
|
**Arguments:**
|
|
647
649
|
|
|
@@ -689,6 +691,8 @@ Avalable arguments in command line:
|
|
|
689
691
|
cmdParser.add_argument('--config', type=str,
|
|
690
692
|
help='configuration json file for component mapping information.')
|
|
691
693
|
cmdParser.add_argument('--interface', choices=['db', 'rest'], default='db', help='database access interface.')
|
|
694
|
+
cmdParser.add_argument('--testrunurl', type=str, default="",
|
|
695
|
+
help='link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...')
|
|
692
696
|
|
|
693
697
|
return cmdParser.parse_args()
|
|
694
698
|
|
|
@@ -1024,8 +1028,10 @@ Process test case data and create new test case record.
|
|
|
1024
1028
|
try:
|
|
1025
1029
|
_tbl_case_result_main = DRESULT_MAPPING[test.status]
|
|
1026
1030
|
except Exception:
|
|
1027
|
-
|
|
1028
|
-
|
|
1031
|
+
# Robotframework result's validation is done before
|
|
1032
|
+
# Set further status as unknown
|
|
1033
|
+
_tbl_case_result_main = DRESULT_MAPPING['UNKNOWN']
|
|
1034
|
+
|
|
1029
1035
|
_tbl_case_result_state = "complete"
|
|
1030
1036
|
_tbl_case_result_return = 11
|
|
1031
1037
|
_tbl_case_counter_resets = 0
|
|
@@ -1179,6 +1185,7 @@ Flow to import Robot results to database:
|
|
|
1179
1185
|
* `variant` : variant name to be set for this import.
|
|
1180
1186
|
* `versions` : metadata: Versions (Software;Hardware;Test) to be set for this import.
|
|
1181
1187
|
* `config` : configuration json file for component mapping information.
|
|
1188
|
+
* `testrunurl`: link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...
|
|
1182
1189
|
|
|
1183
1190
|
**Returns:**
|
|
1184
1191
|
|
|
@@ -1330,7 +1337,7 @@ Flow to import Robot results to database:
|
|
|
1330
1337
|
|
|
1331
1338
|
# Process other info
|
|
1332
1339
|
_tbl_result_interpretation = ""
|
|
1333
|
-
_tbl_result_jenkinsurl =
|
|
1340
|
+
_tbl_result_jenkinsurl = args.testrunurl
|
|
1334
1341
|
_tbl_result_reporting_qualitygate = ""
|
|
1335
1342
|
|
|
1336
1343
|
# Check the UUID is existing or not
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: robotframework-robotlog2db
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.2
|
|
4
4
|
Summary: Imports robot result(s) to TestResultWebApp database
|
|
5
5
|
Home-page: https://github.com/test-fullautomation/robotframework-robotlog2db
|
|
6
6
|
Author: Tran Duy Ngoan
|
|
@@ -162,6 +162,8 @@ The usage should be showed as below:
|
|
|
162
162
|
--config CONFIG configuration json file for component mapping information.
|
|
163
163
|
--interface {db,rest}
|
|
164
164
|
database access interface.
|
|
165
|
+
--testrunurl TESTRUNURL
|
|
166
|
+
link to test execution job: Jenkins job, Gitlab CI/CD pipeline, ...
|
|
165
167
|
|
|
166
168
|
The below command is simple usage with all required arguments to import
|
|
167
169
|
Robot Framework results into TestResultWebApp\'s database:
|
{robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/__init__.py
RENAMED
|
File without changes
|
{robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/__main__.py
RENAMED
|
File without changes
|
{robotframework-robotlog2db-1.5.0 → robotframework-robotlog2db-1.5.2}/RobotLog2DB/xsd/robot.xsd
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|