testit-adapter-pytest 2.0.10__tar.gz → 2.1.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.
Files changed (15) hide show
  1. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/PKG-INFO +16 -2
  2. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/README.md +15 -1
  3. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/setup.py +2 -2
  4. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest/plugin.py +7 -0
  5. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest.egg-info/PKG-INFO +16 -2
  6. testit-adapter-pytest-2.1.1/src/testit_adapter_pytest.egg-info/requires.txt +3 -0
  7. testit-adapter-pytest-2.0.10/src/testit_adapter_pytest.egg-info/requires.txt +0 -3
  8. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/requirements.txt +0 -0
  9. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/setup.cfg +0 -0
  10. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest/__init__.py +0 -0
  11. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest/listener.py +0 -0
  12. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest.egg-info/SOURCES.txt +0 -0
  13. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest.egg-info/dependency_links.txt +0 -0
  14. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest.egg-info/entry_points.txt +0 -0
  15. {testit-adapter-pytest-2.0.10 → testit-adapter-pytest-2.1.1}/src/testit_adapter_pytest.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-adapter-pytest
3
- Version: 2.0.10
3
+ Version: 2.1.1
4
4
  Summary: Pytest adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -12,6 +12,13 @@ Description: # Test IT TMS adapter for Pytest
12
12
 
13
13
  ## Getting Started
14
14
 
15
+ ### Compatibility
16
+
17
+ | Test IT | Adapter |
18
+ |---------|---------|
19
+ | 3.5 | 2.0 |
20
+ | 4.0 | 2.1 |
21
+
15
22
  ### Installation
16
23
 
17
24
  ```
@@ -34,6 +41,7 @@ Description: # Test IT TMS adapter for Pytest
34
41
  testRunId = <optional id>
35
42
  testRunName = <optional name>
36
43
  adapterMode = <optional>
44
+ certValidation = <optional boolean>
37
45
 
38
46
  # This section are optional. It enables debug mode.
39
47
  [debug]
@@ -73,6 +81,8 @@ Description: # Test IT TMS adapter for Pytest
73
81
  test run.
74
82
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
75
83
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
84
+
85
+ * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
76
86
 
77
87
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
78
88
 
@@ -101,6 +111,8 @@ Description: # Test IT TMS adapter for Pytest
101
111
 
102
112
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
103
113
 
114
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
115
+
104
116
  #### Command line
105
117
 
106
118
  You also can CLI variables (CLI variables take precedence over environment variables):
@@ -126,6 +138,8 @@ Description: # Test IT TMS adapter for Pytest
126
138
 
127
139
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
128
140
 
141
+ * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
142
+
129
143
  #### Examples
130
144
 
131
145
  Launch with a connection_config.ini file in the root directory of the project:
@@ -137,7 +151,7 @@ Description: # Test IT TMS adapter for Pytest
137
151
  Launch with command-line parameters:
138
152
 
139
153
  ```
140
- $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}'
154
+ $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' --tmsCertValidation=<optional boolean>
141
155
  ```
142
156
 
143
157
  If you want to enable debug mode then
@@ -4,6 +4,13 @@
4
4
 
5
5
  ## Getting Started
6
6
 
7
+ ### Compatibility
8
+
9
+ | Test IT | Adapter |
10
+ |---------|---------|
11
+ | 3.5 | 2.0 |
12
+ | 4.0 | 2.1 |
13
+
7
14
  ### Installation
8
15
 
9
16
  ```
@@ -26,6 +33,7 @@ pip install testit-adapter-pytest
26
33
  testRunId = <optional id>
27
34
  testRunName = <optional name>
28
35
  adapterMode = <optional>
36
+ certValidation = <optional boolean>
29
37
 
30
38
  # This section are optional. It enables debug mode.
31
39
  [debug]
@@ -65,6 +73,8 @@ pip install testit-adapter-pytest
65
73
  test run.
66
74
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
67
75
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
76
+
77
+ * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
68
78
 
69
79
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
70
80
 
@@ -93,6 +103,8 @@ You can use environment variables (environment variables take precedence over fi
93
103
 
94
104
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
95
105
 
106
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
107
+
96
108
  #### Command line
97
109
 
98
110
  You also can CLI variables (CLI variables take precedence over environment variables):
@@ -118,6 +130,8 @@ You also can CLI variables (CLI variables take precedence over environment varia
118
130
 
119
131
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
120
132
 
133
+ * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
134
+
121
135
  #### Examples
122
136
 
123
137
  Launch with a connection_config.ini file in the root directory of the project:
@@ -129,7 +143,7 @@ $ pytest --testit
129
143
  Launch with command-line parameters:
130
144
 
131
145
  ```
132
- $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}'
146
+ $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' --tmsCertValidation=<optional boolean>
133
147
  ```
134
148
 
135
149
  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-pytest',
5
- version='2.0.10',
5
+ version='2.1.1',
6
6
  description='Pytest adapter for Test IT',
7
7
  long_description=open('README.md', "r").read(),
8
8
  long_description_content_type="text/markdown",
@@ -20,6 +20,6 @@ setup(
20
20
  py_modules=['testit_adapter_pytest'],
21
21
  packages=find_packages(where='src'),
22
22
  package_dir={'': 'src'},
23
- install_requires=['pytest', 'pytest-xdist', 'testit-python-commons==2.0.10'],
23
+ install_requires=['pytest', 'pytest-xdist', 'testit-python-commons==2.1.1'],
24
24
  entry_points={'pytest11': ['testit_adapter_pytest = testit_adapter_pytest.plugin']}
25
25
  )
@@ -80,6 +80,13 @@ def pytest_addoption(parser):
80
80
  metavar="tmsConfigFile",
81
81
  help='Set custom name of configuration file'
82
82
  )
83
+ parser.getgroup('testit').addoption(
84
+ '--tmsCertValidation',
85
+ action="store",
86
+ dest="set_cert_validation",
87
+ metavar="false",
88
+ help='Set custom name of configuration file'
89
+ )
83
90
 
84
91
 
85
92
  @pytest.mark.tryfirst
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: testit-adapter-pytest
3
- Version: 2.0.10
3
+ Version: 2.1.1
4
4
  Summary: Pytest adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -12,6 +12,13 @@ Description: # Test IT TMS adapter for Pytest
12
12
 
13
13
  ## Getting Started
14
14
 
15
+ ### Compatibility
16
+
17
+ | Test IT | Adapter |
18
+ |---------|---------|
19
+ | 3.5 | 2.0 |
20
+ | 4.0 | 2.1 |
21
+
15
22
  ### Installation
16
23
 
17
24
  ```
@@ -34,6 +41,7 @@ Description: # Test IT TMS adapter for Pytest
34
41
  testRunId = <optional id>
35
42
  testRunName = <optional name>
36
43
  adapterMode = <optional>
44
+ certValidation = <optional boolean>
37
45
 
38
46
  # This section are optional. It enables debug mode.
39
47
  [debug]
@@ -73,6 +81,8 @@ Description: # Test IT TMS adapter for Pytest
73
81
  test run.
74
82
  * 1 - in this mode, the adapter sends all results to the test run without filtering.
75
83
  * 2 - in this mode, the adapter creates a new test run and sends results to the new test run.
84
+
85
+ * `certValidation` - it enables/disables certificate validation. `certValidation` is optional.
76
86
 
77
87
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
78
88
 
@@ -101,6 +111,8 @@ Description: # Test IT TMS adapter for Pytest
101
111
 
102
112
  * `TMS_PROXY` - it enables debug mode. `TMS_PROXY` is optional.
103
113
 
114
+ * `TMS_CERT_VALIDATION` - it enables/disables certificate validation. `TMS_CERT_VALIDATION` is optional.
115
+
104
116
  #### Command line
105
117
 
106
118
  You also can CLI variables (CLI variables take precedence over environment variables):
@@ -126,6 +138,8 @@ Description: # Test IT TMS adapter for Pytest
126
138
 
127
139
  * `tmsProxy` - it enables debug mode. `tmsProxy` is optional.
128
140
 
141
+ * `tmsCertValidation` - it enables/disables certificate validation. `tmsCertValidation` is optional.
142
+
129
143
  #### Examples
130
144
 
131
145
  Launch with a connection_config.ini file in the root directory of the project:
@@ -137,7 +151,7 @@ Description: # Test IT TMS adapter for Pytest
137
151
  Launch with command-line parameters:
138
152
 
139
153
  ```
140
- $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}'
154
+ $ pytest --testit --tmsUrl=<url> --tmsPrivateToken=<token> --tmsProjectId=<id> --tmsConfigurationId=<id> --tmsTestRunId=<optional id> --tmsTestRunName=<optional name> --tmsProxy='{"http":"http://localhost:8888","https":"http://localhost:8888"}' --tmsCertValidation=<optional boolean>
141
155
  ```
142
156
 
143
157
  If you want to enable debug mode then
@@ -0,0 +1,3 @@
1
+ pytest
2
+ pytest-xdist
3
+ testit-python-commons==2.1.1
@@ -1,3 +0,0 @@
1
- pytest
2
- pytest-xdist
3
- testit-python-commons==2.0.10