testit-adapter-robotframework 3.3.2__tar.gz → 3.4.1__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.2 → testit_adapter_robotframework-3.4.1}/PKG-INFO +15 -4
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/README.md +3 -1
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/setup.py +2 -2
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework/TMSLibrary.py +1 -1
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework/listeners.py +3 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework/models.py +2 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework.egg-info/PKG-INFO +15 -4
- testit_adapter_robotframework-3.4.1/src/testit_adapter_robotframework.egg-info/requires.txt +3 -0
- testit_adapter_robotframework-3.3.2/src/testit_adapter_robotframework.egg-info/requires.txt +0 -3
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/setup.cfg +0 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework/__init__.py +0 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework/utils.py +0 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework.egg-info/SOURCES.txt +0 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework.egg-info/dependency_links.txt +0 -0
- {testit_adapter_robotframework-3.3.2 → testit_adapter_robotframework-3.4.1}/src/testit_adapter_robotframework.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.1
|
|
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,16 @@ 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.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.4.1
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: summary
|
|
21
30
|
|
|
22
31
|
# Test IT TMS adapter for Robot Framework
|
|
23
32
|

|
|
@@ -50,6 +59,7 @@ pip install testit-adapter-robotframework
|
|
|
50
59
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
51
60
|
| Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES | tmsAutomaticCreationTestCases |
|
|
52
61
|
| Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES | tmsAutomaticUpdationLinksToTestCases |
|
|
62
|
+
| Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME | tmsImportRealtime |
|
|
53
63
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
54
64
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
55
65
|
|
|
@@ -68,6 +78,7 @@ adapterMode = ADAPTER_MODE
|
|
|
68
78
|
certValidation = CERT_VALIDATION
|
|
69
79
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
70
80
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
81
|
+
importRealtime = IMPORT_REALTIME
|
|
71
82
|
|
|
72
83
|
# This section are optional. It enables debug mode.
|
|
73
84
|
[debug]
|
|
@@ -85,7 +96,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
85
96
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
86
97
|
|
|
87
98
|
```
|
|
88
|
-
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES TEST_DIRECTORY
|
|
99
|
+
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -v tmsImportRealtime:IMPORT_REALTIME TEST_DIRECTORY
|
|
89
100
|
```
|
|
90
101
|
|
|
91
102
|
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)
|
|
@@ -29,6 +29,7 @@ pip install testit-adapter-robotframework
|
|
|
29
29
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
30
30
|
| Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES | tmsAutomaticCreationTestCases |
|
|
31
31
|
| Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES | tmsAutomaticUpdationLinksToTestCases |
|
|
32
|
+
| Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME | tmsImportRealtime |
|
|
32
33
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
33
34
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
34
35
|
|
|
@@ -47,6 +48,7 @@ adapterMode = ADAPTER_MODE
|
|
|
47
48
|
certValidation = CERT_VALIDATION
|
|
48
49
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
49
50
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
51
|
+
importRealtime = IMPORT_REALTIME
|
|
50
52
|
|
|
51
53
|
# This section are optional. It enables debug mode.
|
|
52
54
|
[debug]
|
|
@@ -64,7 +66,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
64
66
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
65
67
|
|
|
66
68
|
```
|
|
67
|
-
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES TEST_DIRECTORY
|
|
69
|
+
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -v tmsImportRealtime:IMPORT_REALTIME TEST_DIRECTORY
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
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)
|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-adapter-robotframework',
|
|
5
|
-
version='3.
|
|
5
|
+
version='3.4.1',
|
|
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.
|
|
26
|
+
install_requires=['attrs', 'robotframework', 'testit-python-commons==3.4.1']
|
|
27
27
|
)
|
|
@@ -42,7 +42,7 @@ class TMSLibrary:
|
|
|
42
42
|
if self.enabled:
|
|
43
43
|
cli_params = ["tmsUrl", "tmsPrivateToken", "tmsProjectId", "tmsConfigurationId", "tmsTestRunId",
|
|
44
44
|
"tmsProxy", "tmsTestRunName", "tmsAdapterMode", "tmsConfigFile", "tmsCertValidation",
|
|
45
|
-
"tmsAutomaticCreationTestCases", "tmsAutomaticUpdationLinksToTestCases"]
|
|
45
|
+
"tmsAutomaticCreationTestCases", "tmsAutomaticUpdationLinksToTestCases", "tmsImportRealtime"]
|
|
46
46
|
option = Option(**{param: built_in.get_variable_value(f'${{{param}}}', None) for param in cli_params})
|
|
47
47
|
self.adapter_manager = TmsPluginManager.get_adapter_manager(option)
|
|
48
48
|
pabot_index = built_in.get_variable_value('${PABOTQUEUEINDEX}', None)
|
|
@@ -71,6 +71,9 @@ class AutotestAdapter:
|
|
|
71
71
|
self.adapter_manager.write_test(
|
|
72
72
|
convert_executable_test_to_test_result_model(self.active_test.order()))
|
|
73
73
|
|
|
74
|
+
def close(self):
|
|
75
|
+
self.adapter_manager.write_tests()
|
|
76
|
+
|
|
74
77
|
|
|
75
78
|
class TestRunAdapter:
|
|
76
79
|
ROBOT_LISTENER_API_VERSION = 3
|
|
@@ -215,3 +215,5 @@ class Option:
|
|
|
215
215
|
self.set_automatic_creation_test_cases = kwargs.get('tmsAutomaticCreationTestCases', None)
|
|
216
216
|
if kwargs.get('tmsAutomaticUpdationLinksToTestCases', None):
|
|
217
217
|
self.set_automatic_updation_links_to_test_cases = kwargs.get('tmsAutomaticUpdationLinksToTestCases', None)
|
|
218
|
+
if kwargs.get('tmsImportRealtime', None):
|
|
219
|
+
self.set_import_realtime = kwargs.get('tmsImportRealtime', None)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.1
|
|
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,16 @@ 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.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.4.1
|
|
21
|
+
Dynamic: author
|
|
22
|
+
Dynamic: author-email
|
|
23
|
+
Dynamic: classifier
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: license
|
|
28
|
+
Dynamic: requires-dist
|
|
29
|
+
Dynamic: summary
|
|
21
30
|
|
|
22
31
|
# Test IT TMS adapter for Robot Framework
|
|
23
32
|

|
|
@@ -50,6 +59,7 @@ pip install testit-adapter-robotframework
|
|
|
50
59
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
51
60
|
| Mode of automatic creation test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest)<br/>false - in this mode, the adapter will not create a test case | automaticCreationTestCases | TMS_AUTOMATIC_CREATION_TEST_CASES | tmsAutomaticCreationTestCases |
|
|
52
61
|
| Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES | tmsAutomaticUpdationLinksToTestCases |
|
|
62
|
+
| Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME | tmsImportRealtime |
|
|
53
63
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
54
64
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
55
65
|
|
|
@@ -68,6 +78,7 @@ adapterMode = ADAPTER_MODE
|
|
|
68
78
|
certValidation = CERT_VALIDATION
|
|
69
79
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
70
80
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
81
|
+
importRealtime = IMPORT_REALTIME
|
|
71
82
|
|
|
72
83
|
# This section are optional. It enables debug mode.
|
|
73
84
|
[debug]
|
|
@@ -85,7 +96,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
85
96
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
86
97
|
|
|
87
98
|
```
|
|
88
|
-
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES TEST_DIRECTORY
|
|
99
|
+
$ robot -v testit -v tmsUrl:URL -v tmsPrivateToken:USER_PRIVATE_TOKEN -v tmsProjectId:PROJECT_ID -v tmsConfigurationId:CONFIGURATION_ID -v tmsTestRunId:TEST_RUN_ID -v tmsTestRunName:TEST_RUN_NAME -v tmsAdapterMode:ADAPTER_MODE -v tmsProxy:'{"http":"http://localhost:8888","https":"http://localhost:8888"}' -v tmsConfigFile:<optional file> -v tmsCertValidation:CERT_VALIDATION -v tmsAutomaticCreationTestCases:AUTOMATIC_CREATION_TEST_CASES -v tmsAutomaticUpdationLinksToTestCases:AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -v tmsImportRealtime:IMPORT_REALTIME TEST_DIRECTORY
|
|
89
100
|
```
|
|
90
101
|
|
|
91
102
|
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|