testit-adapter-robotframework 3.2.0__tar.gz → 3.2.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.2.0 → testit_adapter_robotframework-3.2.2}/PKG-INFO +18 -16
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/README.md +16 -14
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/setup.py +2 -2
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework/TMSLibrary.py +3 -3
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework/models.py +2 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework.egg-info/PKG-INFO +18 -16
- testit_adapter_robotframework-3.2.2/src/testit_adapter_robotframework.egg-info/requires.txt +3 -0
- testit_adapter_robotframework-3.2.0/src/testit_adapter_robotframework.egg-info/requires.txt +0 -3
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/setup.cfg +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework/__init__.py +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework/listeners.py +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework/utils.py +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework.egg-info/SOURCES.txt +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.2}/src/testit_adapter_robotframework.egg-info/dependency_links.txt +0 -0
- {testit_adapter_robotframework-3.2.0 → testit_adapter_robotframework-3.2.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.2.
|
|
3
|
+
Version: 3.2.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.2.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.2.2
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Robot Framework
|
|
23
23
|

|
|
@@ -38,19 +38,20 @@ pip install testit-adapter-robotframework
|
|
|
38
38
|
|
|
39
39
|
### Configuration
|
|
40
40
|
|
|
41
|
-
| Description |
|
|
42
|
-
|
|
43
|
-
| Location of the TMS instance | url
|
|
44
|
-
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken
|
|
45
|
-
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId
|
|
46
|
-
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId
|
|
47
|
-
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId
|
|
48
|
-
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName
|
|
49
|
-
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode
|
|
50
|
-
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation
|
|
51
|
-
| 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
|
|
52
|
-
|
|
|
53
|
-
|
|
|
41
|
+
| Description | File property | Environment variable | CLI argument |
|
|
42
|
+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
|
|
43
|
+
| Location of the TMS instance | url | TMS_URL | tmsUrl |
|
|
44
|
+
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
|
|
45
|
+
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId | TMS_PROJECT_ID | tmsProjectId |
|
|
46
|
+
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId | TMS_CONFIGURATION_ID | tmsConfigurationId |
|
|
47
|
+
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
|
|
48
|
+
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName | TMS_TEST_RUN_NAME | tmsTestRunName |
|
|
49
|
+
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode | TMS_ADAPTER_MODE | tmsAdapterMode |
|
|
50
|
+
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
51
|
+
| 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
|
+
| 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 |
|
|
53
|
+
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
54
|
+
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
54
55
|
|
|
55
56
|
#### File
|
|
56
57
|
|
|
@@ -66,6 +67,7 @@ testRunName = TEST_RUN_NAME
|
|
|
66
67
|
adapterMode = ADAPTER_MODE
|
|
67
68
|
certValidation = CERT_VALIDATION
|
|
68
69
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
70
|
+
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
69
71
|
|
|
70
72
|
# This section are optional. It enables debug mode.
|
|
71
73
|
[debug]
|
|
@@ -83,7 +85,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
83
85
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
84
86
|
|
|
85
87
|
```
|
|
86
|
-
$ 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 TEST_DIRECTORY
|
|
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
|
|
87
89
|
```
|
|
88
90
|
|
|
89
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)
|
|
@@ -17,19 +17,20 @@ pip install testit-adapter-robotframework
|
|
|
17
17
|
|
|
18
18
|
### Configuration
|
|
19
19
|
|
|
20
|
-
| Description |
|
|
21
|
-
|
|
22
|
-
| Location of the TMS instance | url
|
|
23
|
-
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken
|
|
24
|
-
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId
|
|
25
|
-
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId
|
|
26
|
-
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId
|
|
27
|
-
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName
|
|
28
|
-
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode
|
|
29
|
-
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation
|
|
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
|
|
31
|
-
|
|
|
32
|
-
|
|
|
20
|
+
| Description | File property | Environment variable | CLI argument |
|
|
21
|
+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
|
|
22
|
+
| Location of the TMS instance | url | TMS_URL | tmsUrl |
|
|
23
|
+
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
|
|
24
|
+
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId | TMS_PROJECT_ID | tmsProjectId |
|
|
25
|
+
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId | TMS_CONFIGURATION_ID | tmsConfigurationId |
|
|
26
|
+
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
|
|
27
|
+
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName | TMS_TEST_RUN_NAME | tmsTestRunName |
|
|
28
|
+
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode | TMS_ADAPTER_MODE | tmsAdapterMode |
|
|
29
|
+
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
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
|
+
| 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
|
+
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
33
|
+
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
33
34
|
|
|
34
35
|
#### File
|
|
35
36
|
|
|
@@ -45,6 +46,7 @@ testRunName = TEST_RUN_NAME
|
|
|
45
46
|
adapterMode = ADAPTER_MODE
|
|
46
47
|
certValidation = CERT_VALIDATION
|
|
47
48
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
49
|
+
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
48
50
|
|
|
49
51
|
# This section are optional. It enables debug mode.
|
|
50
52
|
[debug]
|
|
@@ -62,7 +64,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
62
64
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
63
65
|
|
|
64
66
|
```
|
|
65
|
-
$ 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 TEST_DIRECTORY
|
|
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
|
|
66
68
|
```
|
|
67
69
|
|
|
68
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)
|
|
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='testit-adapter-robotframework',
|
|
5
|
-
version='3.2.
|
|
5
|
+
version='3.2.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.2.
|
|
26
|
+
install_requires=['attrs', 'robotframework', 'testit-python-commons==3.2.2']
|
|
27
27
|
)
|
|
@@ -40,9 +40,9 @@ class TMSLibrary:
|
|
|
40
40
|
built_in = BuiltIn()
|
|
41
41
|
self.enabled = built_in.get_variable_value("${testit}", None) is not None
|
|
42
42
|
if self.enabled:
|
|
43
|
-
cli_params = ["tmsUrl", "tmsPrivateToken", "tmsProjectId",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
43
|
+
cli_params = ["tmsUrl", "tmsPrivateToken", "tmsProjectId", "tmsConfigurationId", "tmsTestRunId",
|
|
44
|
+
"tmsTestRunName", "tmsAdapterMode", "tmsConfigFile", "tmsCertValidation",
|
|
45
|
+
"tmsAutomaticCreationTestCases", "tmsAutomaticUpdationLinksToTestCases"]
|
|
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)
|
|
@@ -211,3 +211,5 @@ class Option:
|
|
|
211
211
|
self.set_cert_validation = kwargs.get('tmsCertValidation', None)
|
|
212
212
|
if kwargs.get('tmsAutomaticCreationTestCases', None):
|
|
213
213
|
self.set_automatic_creation_test_cases = kwargs.get('tmsAutomaticCreationTestCases', None)
|
|
214
|
+
if kwargs.get('tmsAutomaticUpdationLinksToTestCases', None):
|
|
215
|
+
self.set_automatic_updation_links_to_test_cases = kwargs.get('tmsAutomaticUpdationLinksToTestCases', None)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-robotframework
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.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.2.
|
|
20
|
+
Requires-Dist: testit-python-commons==3.2.2
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Robot Framework
|
|
23
23
|

|
|
@@ -38,19 +38,20 @@ pip install testit-adapter-robotframework
|
|
|
38
38
|
|
|
39
39
|
### Configuration
|
|
40
40
|
|
|
41
|
-
| Description |
|
|
42
|
-
|
|
43
|
-
| Location of the TMS instance | url
|
|
44
|
-
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken
|
|
45
|
-
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId
|
|
46
|
-
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId
|
|
47
|
-
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId
|
|
48
|
-
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName
|
|
49
|
-
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode
|
|
50
|
-
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation
|
|
51
|
-
| 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
|
|
52
|
-
|
|
|
53
|
-
|
|
|
41
|
+
| Description | File property | Environment variable | CLI argument |
|
|
42
|
+
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
|
|
43
|
+
| Location of the TMS instance | url | TMS_URL | tmsUrl |
|
|
44
|
+
| API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
|
|
45
|
+
| ID of project in TMS instance [How to getting project ID?](https://github.com/testit-tms/.github/tree/main/configuration#projectid) | projectId | TMS_PROJECT_ID | tmsProjectId |
|
|
46
|
+
| ID of configuration in TMS instance [How to getting configuration ID?](https://github.com/testit-tms/.github/tree/main/configuration#configurationid) | configurationId | TMS_CONFIGURATION_ID | tmsConfigurationId |
|
|
47
|
+
| ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
|
|
48
|
+
| Parameter for specifying the name of test run in TMS instance (**It's optional**). If it is not provided, it is created automatically | testRunName | TMS_TEST_RUN_NAME | tmsTestRunName |
|
|
49
|
+
| Adapter mode. Default value - 0. The adapter supports following modes:<br/>0 - in this mode, the adapter filters tests by test run ID and configuration ID, and sends the results to the test run<br/>1 - in this mode, the adapter sends all results to the test run without filtering<br/>2 - in this mode, the adapter creates a new test run and sends results to the new test run | adapterMode | TMS_ADAPTER_MODE | tmsAdapterMode |
|
|
50
|
+
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
51
|
+
| 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
|
+
| 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 |
|
|
53
|
+
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
54
|
+
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
54
55
|
|
|
55
56
|
#### File
|
|
56
57
|
|
|
@@ -66,6 +67,7 @@ testRunName = TEST_RUN_NAME
|
|
|
66
67
|
adapterMode = ADAPTER_MODE
|
|
67
68
|
certValidation = CERT_VALIDATION
|
|
68
69
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
70
|
+
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
69
71
|
|
|
70
72
|
# This section are optional. It enables debug mode.
|
|
71
73
|
[debug]
|
|
@@ -83,7 +85,7 @@ $ robot -v testit TEST_DIRECTORY
|
|
|
83
85
|
Launch with command-line parameters (parameters are case-insensitive):
|
|
84
86
|
|
|
85
87
|
```
|
|
86
|
-
$ 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 TEST_DIRECTORY
|
|
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
|
|
87
89
|
```
|
|
88
90
|
|
|
89
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|