testit-adapter-behave 2.1.0__tar.gz → 2.1.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 (23) hide show
  1. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/PKG-INFO +16 -5
  2. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/README.md +15 -4
  3. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/setup.py +2 -2
  4. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/utils.py +6 -0
  5. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave.egg-info/PKG-INFO +16 -5
  6. testit-adapter-behave-2.1.2/src/testit_adapter_behave.egg-info/requires.txt +3 -0
  7. testit-adapter-behave-2.1.0/src/testit_adapter_behave.egg-info/requires.txt +0 -3
  8. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/requirements.txt +0 -0
  9. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/setup.cfg +0 -0
  10. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/__init__.py +0 -0
  11. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/formatter.py +0 -0
  12. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/listener.py +0 -0
  13. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/__init__.py +0 -0
  14. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/label.py +0 -0
  15. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/option.py +0 -0
  16. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/tags.py +0 -0
  17. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/test_result_step.py +0 -0
  18. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/models/url_link.py +0 -0
  19. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/scenario_parser.py +0 -0
  20. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave/tags_parser.py +0 -0
  21. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave.egg-info/SOURCES.txt +0 -0
  22. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.2}/src/testit_adapter_behave.egg-info/dependency_links.txt +0 -0
  23. {testit-adapter-behave-2.1.0 → testit-adapter-behave-2.1.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: 2.1.0
3
+ Version: 2.1.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
@@ -41,6 +41,8 @@ Description: # Test IT TMS adapter for Behave
41
41
  testRunId = <optional id>
42
42
  testRunName = <optional name>
43
43
  adapterMode = <optional>
44
+ certValidation = <optional boolean>
45
+ automaticCreationTestCases = <optional boolean>
44
46
 
45
47
  # This section are optional. It enables debug mode.
46
48
  [debug]
@@ -81,7 +83,11 @@ Description: # Test IT TMS adapter for Behave
81
83
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
82
84
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
83
85
 
84
- * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
86
+ * `certValidation` - it enables/disables certificate validation. Default value - true.
87
+
88
+ * `automaticCreationTestCases` - mode of automatic creation test cases. Default value - false. The adapter supports following modes:
89
+ * true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest).
90
+ * false - in this mode, the adapter will not create a test case.
85
91
 
86
92
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
87
93
 
@@ -110,7 +116,9 @@ Description: # Test IT TMS adapter for Behave
110
116
 
111
117
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
112
118
 
113
- * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
119
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. Default value - true.
120
+
121
+ * `TMS_AUTOMATIC_CREATION_TEST_CASES` - mode of automatic creation test cases. Default value - false.
114
122
 
115
123
  #### Command line
116
124
 
@@ -137,7 +145,9 @@ Description: # Test IT TMS adapter for Behave
137
145
 
138
146
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
139
147
 
140
- * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
148
+ * `tmsCertValidation` - it enables/disables certificate validation. Default value - true.
149
+
150
+ * `tmsAutomaticCreationTestCases` - mode of automatic creation test cases. Default value - false.
141
151
 
142
152
  #### Examples
143
153
 
@@ -152,7 +162,8 @@ Description: # Test IT TMS adapter for Behave
152
162
  ```
153
163
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=<url> -D tmsPrivateToken=<token> -D
154
164
  tmsProjectId=<id> -D tmsConfigurationId=<id> -D tmsTestRunId=<optional id> -D tmsAdapterMode=<optional> -D
155
- tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D tmsCertValidation=<optional boolean>
165
+ tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
166
+ tmsCertValidation=<optional boolean> -D tmsAutomaticCreationTestCases=<optional boolean>
156
167
  ```
157
168
 
158
169
  If you want to enable debug mode then
@@ -33,6 +33,8 @@ pip install testit-adapter-behave
33
33
  testRunId = <optional id>
34
34
  testRunName = <optional name>
35
35
  adapterMode = <optional>
36
+ certValidation = <optional boolean>
37
+ automaticCreationTestCases = <optional boolean>
36
38
 
37
39
  # This section are optional. It enables debug mode.
38
40
  [debug]
@@ -73,7 +75,11 @@ pip install testit-adapter-behave
73
75
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
74
76
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
75
77
 
76
- * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
78
+ * `certValidation` - it enables/disables certificate validation. Default value - true.
79
+
80
+ * `automaticCreationTestCases` - mode of automatic creation test cases. Default value - false. The adapter supports following modes:
81
+ * true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest).
82
+ * false - in this mode, the adapter will not create a test case.
77
83
 
78
84
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
79
85
 
@@ -102,7 +108,9 @@ You can use environment variables (environment variables take precedence over fi
102
108
 
103
109
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
104
110
 
105
- * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
111
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. Default value - true.
112
+
113
+ * `TMS_AUTOMATIC_CREATION_TEST_CASES` - mode of automatic creation test cases. Default value - false.
106
114
 
107
115
  #### Command line
108
116
 
@@ -129,7 +137,9 @@ You also can CLI variables (CLI variables take precedence over environment varia
129
137
 
130
138
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
131
139
 
132
- * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
140
+ * `tmsCertValidation` - it enables/disables certificate validation. Default value - true.
141
+
142
+ * `tmsAutomaticCreationTestCases` - mode of automatic creation test cases. Default value - false.
133
143
 
134
144
  #### Examples
135
145
 
@@ -144,7 +154,8 @@ Launch with command-line parameters:
144
154
  ```
145
155
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=<url> -D tmsPrivateToken=<token> -D
146
156
  tmsProjectId=<id> -D tmsConfigurationId=<id> -D tmsTestRunId=<optional id> -D tmsAdapterMode=<optional> -D
147
- tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D tmsCertValidation=<optional boolean>
157
+ tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
158
+ tmsCertValidation=<optional boolean> -D tmsAutomaticCreationTestCases=<optional boolean>
148
159
  ```
149
160
 
150
161
  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='2.1.0',
5
+ version='2.1.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",
@@ -22,6 +22,6 @@ setup(
22
22
  package_dir={'': 'src'},
23
23
  install_requires=[
24
24
  'behave',
25
- 'testit-python-commons==2.1.0',
25
+ 'testit-python-commons==2.1.2',
26
26
  'attrs'],
27
27
  )
@@ -37,6 +37,12 @@ def parse_userdata(userdata):
37
37
  if 'tmsConfigFile' in userdata:
38
38
  option.set_config_file = userdata['tmsConfigFile']
39
39
 
40
+ if 'tmsCertValidation' in userdata:
41
+ option.set_cert_validation = userdata['tmsCertValidation']
42
+
43
+ if 'tmsAutomaticCreationTestCases' in userdata:
44
+ option.set_automatic_creation_test_cases = userdata['tmsAutomaticCreationTestCases']
45
+
40
46
  return option
41
47
 
42
48
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-adapter-behave
3
- Version: 2.1.0
3
+ Version: 2.1.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
@@ -41,6 +41,8 @@ Description: # Test IT TMS adapter for Behave
41
41
  testRunId = <optional id>
42
42
  testRunName = <optional name>
43
43
  adapterMode = <optional>
44
+ certValidation = <optional boolean>
45
+ automaticCreationTestCases = <optional boolean>
44
46
 
45
47
  # This section are optional. It enables debug mode.
46
48
  [debug]
@@ -81,7 +83,11 @@ Description: # Test IT TMS adapter for Behave
81
83
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
82
84
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
83
85
 
84
- * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
86
+ * `certValidation` - it enables/disables certificate validation. Default value - true.
87
+
88
+ * `automaticCreationTestCases` - mode of automatic creation test cases. Default value - false. The adapter supports following modes:
89
+ * true - in this mode, the adapter will create a test case linked to the created autotest (not to the updated autotest).
90
+ * false - in this mode, the adapter will not create a test case.
85
91
 
86
92
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
87
93
 
@@ -110,7 +116,9 @@ Description: # Test IT TMS adapter for Behave
110
116
 
111
117
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
112
118
 
113
- * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
119
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. Default value - true.
120
+
121
+ * `TMS_AUTOMATIC_CREATION_TEST_CASES` - mode of automatic creation test cases. Default value - false.
114
122
 
115
123
  #### Command line
116
124
 
@@ -137,7 +145,9 @@ Description: # Test IT TMS adapter for Behave
137
145
 
138
146
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
139
147
 
140
- * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
148
+ * `tmsCertValidation` - it enables/disables certificate validation. Default value - true.
149
+
150
+ * `tmsAutomaticCreationTestCases` - mode of automatic creation test cases. Default value - false.
141
151
 
142
152
  #### Examples
143
153
 
@@ -152,7 +162,8 @@ Description: # Test IT TMS adapter for Behave
152
162
  ```
153
163
  $ behave -f testit_adapter_behave.formatter:AdapterFormatter -D tmsUrl=<url> -D tmsPrivateToken=<token> -D
154
164
  tmsProjectId=<id> -D tmsConfigurationId=<id> -D tmsTestRunId=<optional id> -D tmsAdapterMode=<optional> -D
155
- tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D tmsCertValidation=<optional boolean>
165
+ tmsTestRunName=<optional name> -D tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' -D
166
+ tmsCertValidation=<optional boolean> -D tmsAutomaticCreationTestCases=<optional boolean>
156
167
  ```
157
168
 
158
169
  If you want to enable debug mode then
@@ -0,0 +1,3 @@
1
+ behave
2
+ testit-python-commons==2.1.2
3
+ attrs
@@ -1,3 +0,0 @@
1
- behave
2
- testit-python-commons==2.1.0
3
- attrs