testit-adapter-behave 3.2.1__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.
Files changed (22) hide show
  1. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/PKG-INFO +19 -16
  2. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/README.md +17 -14
  3. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/setup.py +2 -2
  4. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/option.py +3 -0
  5. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/utils.py +3 -0
  6. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave.egg-info/PKG-INFO +19 -16
  7. testit_adapter_behave-3.2.2/src/testit_adapter_behave.egg-info/requires.txt +3 -0
  8. testit_adapter_behave-3.2.1/src/testit_adapter_behave.egg-info/requires.txt +0 -3
  9. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/setup.cfg +0 -0
  10. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/__init__.py +0 -0
  11. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/formatter.py +0 -0
  12. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/listener.py +0 -0
  13. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/__init__.py +0 -0
  14. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/label.py +0 -0
  15. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/tags.py +0 -0
  16. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/test_result_step.py +0 -0
  17. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/models/url_link.py +0 -0
  18. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/scenario_parser.py +0 -0
  19. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave/tags_parser.py +0 -0
  20. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave.egg-info/SOURCES.txt +0 -0
  21. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave.egg-info/dependency_links.txt +0 -0
  22. {testit_adapter_behave-3.2.1 → testit_adapter_behave-3.2.2}/src/testit_adapter_behave.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-adapter-behave
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: Behave adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: behave
19
- Requires-Dist: testit-python-commons==3.2.1
19
+ Requires-Dist: testit-python-commons==3.2.2
20
20
  Requires-Dist: attrs
21
21
 
22
22
  # Test IT TMS adapter for Behave
@@ -40,19 +40,20 @@ pip install testit-adapter-behave
40
40
 
41
41
  ### Configuration
42
42
 
43
- | Description | Property | Environment variable | CLI argument |
44
- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|-----------------------------------|-------------------------------|
45
- | Location of the TMS instance | url | TMS_URL | tmsUrl |
46
- | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
47
- | 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 |
48
- | 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 |
49
- | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
50
- | 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 |
51
- | 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 |
52
- | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
53
- | 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 |
54
- | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
55
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
43
+ | Description | File property | Environment variable | CLI argument |
44
+ |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
45
+ | Location of the TMS instance | url | TMS_URL | tmsUrl |
46
+ | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
47
+ | 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 |
48
+ | 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 |
49
+ | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
50
+ | 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 |
51
+ | 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 |
52
+ | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
53
+ | 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 |
54
+ | 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 |
55
+ | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
56
+ | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
56
57
 
57
58
  #### File
58
59
 
@@ -68,6 +69,7 @@ testRunName = TEST_RUN_NAME
68
69
  adapterMode = ADAPTER_MODE
69
70
  certValidation = CERT_VALIDATION
70
71
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
72
+ automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
71
73
 
72
74
  # This section are optional. It enables debug mode.
73
75
  [debug]
@@ -88,7 +90,8 @@ Launch with command-line parameters:
88
90
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tmsPrivateToken=USER_PRIVATE_TOKEN -D
89
91
  tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
90
92
  tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
91
- tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES
93
+ tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
94
+ tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
92
95
  ```
93
96
 
94
97
  If you want to enable debug mode then
@@ -19,19 +19,20 @@ pip install testit-adapter-behave
19
19
 
20
20
  ### Configuration
21
21
 
22
- | Description | Property | Environment variable | CLI argument |
23
- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|-----------------------------------|-------------------------------|
24
- | Location of the TMS instance | url | TMS_URL | tmsUrl |
25
- | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
26
- | 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 |
27
- | 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 |
28
- | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
29
- | 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 |
30
- | 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 |
31
- | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
32
- | 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 |
33
- | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
34
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
22
+ | Description | File property | Environment variable | CLI argument |
23
+ |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
24
+ | Location of the TMS instance | url | TMS_URL | tmsUrl |
25
+ | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
26
+ | 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 |
27
+ | 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 |
28
+ | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
29
+ | 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 |
30
+ | 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 |
31
+ | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
32
+ | 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 |
33
+ | 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 |
34
+ | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
35
+ | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
35
36
 
36
37
  #### File
37
38
 
@@ -47,6 +48,7 @@ testRunName = TEST_RUN_NAME
47
48
  adapterMode = ADAPTER_MODE
48
49
  certValidation = CERT_VALIDATION
49
50
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
51
+ automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
50
52
 
51
53
  # This section are optional. It enables debug mode.
52
54
  [debug]
@@ -67,7 +69,8 @@ Launch with command-line parameters:
67
69
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tmsPrivateToken=USER_PRIVATE_TOKEN -D
68
70
  tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
69
71
  tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
70
- tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES
72
+ tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
73
+ tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
71
74
  ```
72
75
 
73
76
  If you want to enable debug mode then
@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
2
2
 
3
3
  setup(
4
4
  name='testit-adapter-behave',
5
- version='3.2.1',
5
+ version='3.2.2',
6
6
  description='Behave adapter for Test IT',
7
7
  long_description=open('README.md', "r").read(),
8
8
  long_description_content_type="text/markdown",
@@ -25,6 +25,6 @@ setup(
25
25
  package_dir={'': 'src'},
26
26
  install_requires=[
27
27
  'behave',
28
- 'testit-python-commons==3.2.1',
28
+ 'testit-python-commons==3.2.2',
29
29
  'attrs'],
30
30
  )
@@ -13,3 +13,6 @@ class Option(object):
13
13
  set_tms_proxy = attrib(default=None)
14
14
  set_adapter_mode = attrib(default=None)
15
15
  set_config_file = attrib(default=None)
16
+ set_cert_validation = attrib(default=None)
17
+ set_automatic_creation_test_cases = attrib(default=None)
18
+ set_automatic_updation_links_to_test_cases = attrib(default=None)
@@ -51,6 +51,9 @@ def parse_userdata(userdata):
51
51
  if 'tmsAutomaticCreationTestCases' in userdata:
52
52
  option.set_automatic_creation_test_cases = userdata['tmsAutomaticCreationTestCases']
53
53
 
54
+ if 'tmsAutomaticUpdationLinksToTestCases' in userdata:
55
+ option.set_automatic_updation_links_to_test_cases = userdata['tmsAutomaticUpdationLinksToTestCases']
56
+
54
57
  return option
55
58
 
56
59
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-adapter-behave
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: Behave adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: behave
19
- Requires-Dist: testit-python-commons==3.2.1
19
+ Requires-Dist: testit-python-commons==3.2.2
20
20
  Requires-Dist: attrs
21
21
 
22
22
  # Test IT TMS adapter for Behave
@@ -40,19 +40,20 @@ pip install testit-adapter-behave
40
40
 
41
41
  ### Configuration
42
42
 
43
- | Description | Property | Environment variable | CLI argument |
44
- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|-----------------------------------|-------------------------------|
45
- | Location of the TMS instance | url | TMS_URL | tmsUrl |
46
- | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
47
- | 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 |
48
- | 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 |
49
- | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
50
- | 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 |
51
- | 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 |
52
- | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
53
- | 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 |
54
- | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
55
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
43
+ | Description | File property | Environment variable | CLI argument |
44
+ |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|--------------------------------------------|--------------------------------------|
45
+ | Location of the TMS instance | url | TMS_URL | tmsUrl |
46
+ | API secret key [How to getting API secret key?](https://github.com/testit-tms/.github/tree/main/configuration#privatetoken) | privateToken | TMS_PRIVATE_TOKEN | tmsPrivateToken |
47
+ | 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 |
48
+ | 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 |
49
+ | ID of the created test run in TMS instance.<br/>It's necessary for **adapterMode** 0 or 1 | testRunId | TMS_TEST_RUN_ID | tmsTestRunId |
50
+ | 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 |
51
+ | 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 |
52
+ | It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
53
+ | 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 |
54
+ | 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 |
55
+ | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
56
+ | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
56
57
 
57
58
  #### File
58
59
 
@@ -68,6 +69,7 @@ testRunName = TEST_RUN_NAME
68
69
  adapterMode = ADAPTER_MODE
69
70
  certValidation = CERT_VALIDATION
70
71
  automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
72
+ automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
71
73
 
72
74
  # This section are optional. It enables debug mode.
73
75
  [debug]
@@ -88,7 +90,8 @@ Launch with command-line parameters:
88
90
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tmsPrivateToken=USER_PRIVATE_TOKEN -D
89
91
  tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
90
92
  tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
91
- tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES
93
+ tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
94
+ tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
92
95
  ```
93
96
 
94
97
  If you want to enable debug mode then
@@ -0,0 +1,3 @@
1
+ behave
2
+ testit-python-commons==3.2.2
3
+ attrs
@@ -1,3 +0,0 @@
1
- behave
2
- testit-python-commons==3.2.1
3
- attrs