testit-adapter-behave 3.3.2__tar.gz → 3.4.0__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.
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/PKG-INFO +5 -3
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/README.md +3 -1
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/setup.py +2 -2
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/formatter.py +3 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/listener.py +3 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/option.py +1 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/utils.py +3 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave.egg-info/PKG-INFO +5 -3
- testit_adapter_behave-3.4.0/src/testit_adapter_behave.egg-info/requires.txt +3 -0
- testit_adapter_behave-3.3.2/src/testit_adapter_behave.egg-info/requires.txt +0 -3
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/setup.cfg +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/__init__.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/__init__.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/label.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/tags.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/test_result_step.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/url_link.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/scenario_parser.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/tags_parser.py +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave.egg-info/SOURCES.txt +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave.egg-info/dependency_links.txt +0 -0
- {testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/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.
|
|
3
|
+
Version: 3.4.0
|
|
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.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.4.0
|
|
20
20
|
Requires-Dist: attrs
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Behave
|
|
@@ -52,6 +52,7 @@ pip install testit-adapter-behave
|
|
|
52
52
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
53
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
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
|
+
| 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 |
|
|
55
56
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
56
57
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
57
58
|
|
|
@@ -70,6 +71,7 @@ adapterMode = ADAPTER_MODE
|
|
|
70
71
|
certValidation = CERT_VALIDATION
|
|
71
72
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
72
73
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
74
|
+
importRealtime = IMPORT_REALTIME
|
|
73
75
|
|
|
74
76
|
# This section are optional. It enables debug mode.
|
|
75
77
|
[debug]
|
|
@@ -91,7 +93,7 @@ $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tm
|
|
|
91
93
|
tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
|
|
92
94
|
tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
|
|
93
95
|
tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
|
|
94
|
-
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
96
|
+
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -D tmsImportRealtime=IMPORT_REALTIME
|
|
95
97
|
```
|
|
96
98
|
|
|
97
99
|
If you want to enable debug mode then
|
|
@@ -31,6 +31,7 @@ pip install testit-adapter-behave
|
|
|
31
31
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
32
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
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
|
+
| 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 |
|
|
34
35
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
35
36
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
36
37
|
|
|
@@ -49,6 +50,7 @@ adapterMode = ADAPTER_MODE
|
|
|
49
50
|
certValidation = CERT_VALIDATION
|
|
50
51
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
51
52
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
53
|
+
importRealtime = IMPORT_REALTIME
|
|
52
54
|
|
|
53
55
|
# This section are optional. It enables debug mode.
|
|
54
56
|
[debug]
|
|
@@ -70,7 +72,7 @@ $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tm
|
|
|
70
72
|
tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
|
|
71
73
|
tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
|
|
72
74
|
tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
|
|
73
|
-
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
75
|
+
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -D tmsImportRealtime=IMPORT_REALTIME
|
|
74
76
|
```
|
|
75
77
|
|
|
76
78
|
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.
|
|
5
|
+
version='3.4.0',
|
|
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.
|
|
28
|
+
'testit-python-commons==3.4.0',
|
|
29
29
|
'attrs'],
|
|
30
30
|
)
|
{testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/listener.py
RENAMED
|
@@ -27,6 +27,9 @@ class AdapterListener(object):
|
|
|
27
27
|
|
|
28
28
|
self.__adapter_manager.set_test_run_id(test_run_id)
|
|
29
29
|
|
|
30
|
+
def stop_launch(self):
|
|
31
|
+
self.__adapter_manager.write_tests()
|
|
32
|
+
|
|
30
33
|
def get_tests_for_launch(self):
|
|
31
34
|
return self.__adapter_manager.get_autotests_for_launch()
|
|
32
35
|
|
{testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/utils.py
RENAMED
|
@@ -54,6 +54,9 @@ def parse_userdata(userdata):
|
|
|
54
54
|
if 'tmsAutomaticUpdationLinksToTestCases' in userdata:
|
|
55
55
|
option.set_automatic_updation_links_to_test_cases = userdata['tmsAutomaticUpdationLinksToTestCases']
|
|
56
56
|
|
|
57
|
+
if 'tmsImportRealtime' in userdata:
|
|
58
|
+
option.set_import_realtime = userdata['tmsImportRealtime']
|
|
59
|
+
|
|
57
60
|
return option
|
|
58
61
|
|
|
59
62
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: testit-adapter-behave
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
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.
|
|
19
|
+
Requires-Dist: testit-python-commons==3.4.0
|
|
20
20
|
Requires-Dist: attrs
|
|
21
21
|
|
|
22
22
|
# Test IT TMS adapter for Behave
|
|
@@ -52,6 +52,7 @@ pip install testit-adapter-behave
|
|
|
52
52
|
| It enables/disables certificate validation (**It's optional**). Default value - true | certValidation | TMS_CERT_VALIDATION | tmsCertValidation |
|
|
53
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
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
|
+
| 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 |
|
|
55
56
|
| Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY | tmsProxy |
|
|
56
57
|
| Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE | tmsConfigFile |
|
|
57
58
|
|
|
@@ -70,6 +71,7 @@ adapterMode = ADAPTER_MODE
|
|
|
70
71
|
certValidation = CERT_VALIDATION
|
|
71
72
|
automaticCreationTestCases = AUTOMATIC_CREATION_TEST_CASES
|
|
72
73
|
automaticUpdationLinksToTestCases = AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
74
|
+
importRealtime = IMPORT_REALTIME
|
|
73
75
|
|
|
74
76
|
# This section are optional. It enables debug mode.
|
|
75
77
|
[debug]
|
|
@@ -91,7 +93,7 @@ $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=URL -D tm
|
|
|
91
93
|
tmsProjectId=PROJECT_ID -D tmsConfigurationId=CONFIGURATION_ID -D tmsTestRunId=TEST_RUN_ID -D tmsAdapterMode=ADAPTER_MODE -D
|
|
92
94
|
tmsTestRunName=TEST_RUN_NAME -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
|
|
93
95
|
tmsCertValidation=CERT_VALIDATION -D tmsAutomaticCreationTestCases=AUTOMATIC_CREATION_TEST_CASES -D
|
|
94
|
-
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES
|
|
96
|
+
tmsAutomaticUpdationLinksToTestCases=AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES -D tmsImportRealtime=IMPORT_REALTIME
|
|
95
97
|
```
|
|
96
98
|
|
|
97
99
|
If you want to enable debug mode then
|
|
File without changes
|
{testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/models/tags.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{testit_adapter_behave-3.3.2 → testit_adapter_behave-3.4.0}/src/testit_adapter_behave/tags_parser.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|