testit-adapter-robotframework 3.3.1__tar.gz → 3.3.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.
Potentially problematic release.
This version of testit-adapter-robotframework might be problematic. Click here for more details.
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/PKG-INFO +17 -2
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/README.md +15 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/setup.py +2 -2
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework/models.py +2 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework/utils.py +2 -1
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework.egg-info/PKG-INFO +17 -2
- testit_adapter_robotframework-3.3.2/src/testit_adapter_robotframework.egg-info/requires.txt +3 -0
- testit_adapter_robotframework-3.3.1/src/testit_adapter_robotframework.egg-info/requires.txt +0 -3
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/setup.cfg +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework/TMSLibrary.py +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework/__init__.py +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework/listeners.py +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework.egg-info/SOURCES.txt +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework.egg-info/dependency_links.txt +0 -0
- {testit_adapter_robotframework-3.3.1 → testit_adapter_robotframework-3.3.2}/src/testit_adapter_robotframework.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.2
|
|
4
4
|
Summary: Robot Framework adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
Requires-Dist: attrs
|
|
19
19
|
Requires-Dist: robotframework
|
|
20
|
-
Requires-Dist: testit-python-commons==3.3.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.3.2
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Robot Framework
|
|
23
23
|

|
|
@@ -90,6 +90,21 @@ $ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProj
|
|
|
90
90
|
|
|
91
91
|
If you want to enable debug mode then see [How to enable debug logging?](https://github.com/testit-tms/adapters-python/tree/main/testit-python-commons)
|
|
92
92
|
|
|
93
|
+
#### Run with filter
|
|
94
|
+
To create filter by autotests you can use the Test IT CLI (use adapterMode 1 for run with filter):
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
$ export TMS_TOKEN=<YOUR_TOKEN>
|
|
98
|
+
$ testit autotests_filter
|
|
99
|
+
--url https://tms.testit.software \
|
|
100
|
+
--configuration-id 5236eb3f-7c05-46f9-a609-dc0278896464 \
|
|
101
|
+
--testrun-id 6d4ac4b7-dd67-4805-b879-18da0b89d4a8 \
|
|
102
|
+
--framework robotframework \
|
|
103
|
+
--output tmp/filter.txt
|
|
104
|
+
|
|
105
|
+
$ robot -v testit -v tmsTestRunId:6d4ac4b7-dd67-4805-b879-18da0b89d4a8 -v tmsAdapterMode:1 $(cat tmp/filter.txt) TEST_DIRECTORY
|
|
106
|
+
```
|
|
107
|
+
|
|
93
108
|
### Tags
|
|
94
109
|
|
|
95
110
|
Tags can be used to specify information about autotest. Tags are space sensitive, use only one space between words.
|
|
@@ -69,6 +69,21 @@ $ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProj
|
|
|
69
69
|
|
|
70
70
|
If you want to enable debug mode then see [How to enable debug logging?](https://github.com/testit-tms/adapters-python/tree/main/testit-python-commons)
|
|
71
71
|
|
|
72
|
+
#### Run with filter
|
|
73
|
+
To create filter by autotests you can use the Test IT CLI (use adapterMode 1 for run with filter):
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
$ export TMS_TOKEN=<YOUR_TOKEN>
|
|
77
|
+
$ testit autotests_filter
|
|
78
|
+
--url https://tms.testit.software \
|
|
79
|
+
--configuration-id 5236eb3f-7c05-46f9-a609-dc0278896464 \
|
|
80
|
+
--testrun-id 6d4ac4b7-dd67-4805-b879-18da0b89d4a8 \
|
|
81
|
+
--framework robotframework \
|
|
82
|
+
--output tmp/filter.txt
|
|
83
|
+
|
|
84
|
+
$ robot -v testit -v tmsTestRunId:6d4ac4b7-dd67-4805-b879-18da0b89d4a8 -v tmsAdapterMode:1 $(cat tmp/filter.txt) TEST_DIRECTORY
|
|
85
|
+
```
|
|
86
|
+
|
|
72
87
|
### Tags
|
|
73
88
|
|
|
74
89
|
Tags can be used to specify information about autotest. Tags are space sensitive, use only one space between words.
|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-adapter-robotframework',
|
|
5
|
-
version='3.3.
|
|
5
|
+
version='3.3.2',
|
|
6
6
|
description='Robot Framework adapter for Test IT',
|
|
7
7
|
long_description=open('README.md', "r").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
@@ -23,5 +23,5 @@ setup(
|
|
|
23
23
|
py_modules=['testit_adapter_robotframework'],
|
|
24
24
|
packages=find_packages(where='src'),
|
|
25
25
|
package_dir={'': 'src'},
|
|
26
|
-
install_requires=['attrs', 'robotframework', 'testit-python-commons==3.3.
|
|
26
|
+
install_requires=['attrs', 'robotframework', 'testit-python-commons==3.3.2']
|
|
27
27
|
)
|
|
@@ -87,6 +87,7 @@ class Autotest(Default):
|
|
|
87
87
|
message = attrib(default="")
|
|
88
88
|
started_on = attrib(default=None)
|
|
89
89
|
completed_on = attrib(default=None)
|
|
90
|
+
externalKey = attrib(default=None)
|
|
90
91
|
|
|
91
92
|
step_depth = attrib(default=Factory(list))
|
|
92
93
|
result_depth = attrib(default=Factory(list))
|
|
@@ -94,6 +95,7 @@ class Autotest(Default):
|
|
|
94
95
|
def add_attributes(self, attrs):
|
|
95
96
|
self.title = attrs['originalname']
|
|
96
97
|
self.autoTestName = attrs['originalname']
|
|
98
|
+
self.externalKey = attrs['originalname']
|
|
97
99
|
self.description = attrs['doc']
|
|
98
100
|
self.template = attrs['template']
|
|
99
101
|
self.classname = attrs['longname'].split('.')[-2]
|
|
@@ -36,7 +36,8 @@ def convert_executable_test_to_test_result_model(executable_test: dict) -> TestR
|
|
|
36
36
|
.set_result_links(executable_test['resultLinks'])\
|
|
37
37
|
.set_labels(executable_test['labels'])\
|
|
38
38
|
.set_work_item_ids(executable_test['workItemsID'])\
|
|
39
|
-
.set_message(executable_test['message'])
|
|
39
|
+
.set_message(executable_test['message'])\
|
|
40
|
+
.set_external_key(executable_test['externalKey'])
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
def step_results_to_autotest_steps_model(step_results: dict) -> typing.List[StepResult]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.2
|
|
4
4
|
Summary: Robot Framework adapter for Test IT
|
|
5
5
|
Home-page: https://github.com/testit-tms/adapters-python/
|
|
6
6
|
Author: Integration team
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
Requires-Dist: attrs
|
|
19
19
|
Requires-Dist: robotframework
|
|
20
|
-
Requires-Dist: testit-python-commons==3.3.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.3.2
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Robot Framework
|
|
23
23
|

|
|
@@ -90,6 +90,21 @@ $ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProj
|
|
|
90
90
|
|
|
91
91
|
If you want to enable debug mode then see [How to enable debug logging?](https://github.com/testit-tms/adapters-python/tree/main/testit-python-commons)
|
|
92
92
|
|
|
93
|
+
#### Run with filter
|
|
94
|
+
To create filter by autotests you can use the Test IT CLI (use adapterMode 1 for run with filter):
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
$ export TMS_TOKEN=<YOUR_TOKEN>
|
|
98
|
+
$ testit autotests_filter
|
|
99
|
+
--url https://tms.testit.software \
|
|
100
|
+
--configuration-id 5236eb3f-7c05-46f9-a609-dc0278896464 \
|
|
101
|
+
--testrun-id 6d4ac4b7-dd67-4805-b879-18da0b89d4a8 \
|
|
102
|
+
--framework robotframework \
|
|
103
|
+
--output tmp/filter.txt
|
|
104
|
+
|
|
105
|
+
$ robot -v testit -v tmsTestRunId:6d4ac4b7-dd67-4805-b879-18da0b89d4a8 -v tmsAdapterMode:1 $(cat tmp/filter.txt) TEST_DIRECTORY
|
|
106
|
+
```
|
|
107
|
+
|
|
93
108
|
### Tags
|
|
94
109
|
|
|
95
110
|
Tags can be used to specify information about autotest. Tags are space sensitive, use only one space between words.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|