testit-cli 2.6.0__tar.gz → 2.7.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_cli-2.6.0 → testit_cli-2.7.0}/PKG-INFO +3 -3
- {testit_cli-2.6.0 → testit_cli-2.7.0}/README.md +1 -1
- {testit_cli-2.6.0 → testit_cli-2.7.0}/setup.py +2 -2
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/click_commands.py +2 -2
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/filter_factory.py +6 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/PKG-INFO +3 -3
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/requires.txt +1 -1
- {testit_cli-2.6.0 → testit_cli-2.7.0}/LICENSE +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/setup.cfg +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/__init__.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/apiclient.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/autotests_filter.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/converter.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/dir_worker.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/html_escape_utils.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/importer.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/__init__.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/config.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/status.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/models/testrun.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/parser.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/service.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/service_factory.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/SOURCES.txt +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/src/testit_cli.egg-info/top_level.txt +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/tests/test_click.py +0 -0
- {testit_cli-2.6.0 → testit_cli-2.7.0}/tests/test_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
5
|
Home-page: https://pypi.org/project/testit-cli/
|
|
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
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: testit-api-client==7.1.
|
|
19
|
+
Requires-Dist: testit-api-client==7.1.1
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
@@ -54,4 +54,4 @@ You can see more information in [official documentation](https://docs.testit.sof
|
|
|
54
54
|
| 5.2.3 | 2.3.0.post523 |
|
|
55
55
|
| 5.3 | 2.4.5.post530 |
|
|
56
56
|
| 5.4 | 2.4.11.post540 |
|
|
57
|
-
| Cloud | 2.
|
|
57
|
+
| Cloud | 2.7.0 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "2.
|
|
3
|
+
VERSION = "2.7.0"
|
|
4
4
|
|
|
5
5
|
setup(
|
|
6
6
|
name='testit-cli',
|
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
py_modules=['testit_cli'],
|
|
27
27
|
packages=find_packages(where='src'),
|
|
28
28
|
package_dir={'': 'src'},
|
|
29
|
-
install_requires=['testit-api-client==7.1.
|
|
29
|
+
install_requires=['testit-api-client==7.1.1', 'validators', 'tqdm', 'click~=8.0.4'],
|
|
30
30
|
entry_points={
|
|
31
31
|
'console_scripts': [
|
|
32
32
|
'testit = testit_cli.__main__:console_main'
|
|
@@ -169,14 +169,14 @@ JAVA_FRAMEWORKS = ['gradle-testng', 'gradle-junit5', 'gradle-junit4', 'gradle-cu
|
|
|
169
169
|
JAVASCRIPT_FRAMEWORKS = ['cucumberjs', 'codeceptjs', 'jest', 'mocha', 'playwright', 'testcafe']
|
|
170
170
|
DOTNET_FRAMEWORKS = ['mstest', 'nunit', 'xunit', 'specflow']
|
|
171
171
|
GOLANG_FRAMEWORKS = ['golang']
|
|
172
|
-
|
|
172
|
+
SWIFT_FRAMEWORKS = ['xctest']
|
|
173
173
|
|
|
174
174
|
@execute.command("autotests_filter")
|
|
175
175
|
@click.option("-u", "--url", type=str, envvar='TMS_URL', required=True, help="Set url address of the Test IT instance (https://demo.testit.software)", callback=validate_url)
|
|
176
176
|
@click.option("-t", "--token", type=str, envvar='TMS_TOKEN', required=True, help="Set API token (T2lKd2pLZGI4WHRhaVZUejNl)")
|
|
177
177
|
@click.option("-ci", "--configuration-id", type=str, envvar='TMS_CONFIGURATION_ID', required=True, help="Set configuration id (15dbb164-c1aa-4cbf-830c-8c01ae14f4fb)", callback=validate_uuid)
|
|
178
178
|
@click.option("-ti", "--testrun-id", type=str, envvar='TMS_TEST_RUN_ID', required=True, help="Set test run id (3802f329-190c-4617-8bb0-2c3696abeb8f)", callback=validate_uuid)
|
|
179
|
-
@click.option("-f", "--framework", type=click.Choice(PYTHON_FRAMEWORKS + JAVA_FRAMEWORKS + JAVASCRIPT_FRAMEWORKS + DOTNET_FRAMEWORKS + GOLANG_FRAMEWORKS), required=True, help="Set test framework")
|
|
179
|
+
@click.option("-f", "--framework", type=click.Choice(PYTHON_FRAMEWORKS + JAVA_FRAMEWORKS + JAVASCRIPT_FRAMEWORKS + DOTNET_FRAMEWORKS + GOLANG_FRAMEWORKS + SWIFT_FRAMEWORKS), required=True, help="Set test framework")
|
|
180
180
|
@click.option("-d", "--debug", is_flag=True, help="Set debug logs")
|
|
181
181
|
@click.option("-o", "--output", type=str, required=True, help="Set file path for output (FILE)")
|
|
182
182
|
@click.option("-dcv", "--disable-cert-validation", is_flag=True, help="Disables certificate validation")
|
|
@@ -31,6 +31,7 @@ class FilterFactory:
|
|
|
31
31
|
'xunit': cls.__initialize_mstest_nunit_xunit_filter,
|
|
32
32
|
'specflow': cls.__initialize_specflow_filter,
|
|
33
33
|
'golang': cls.__initialize_cucumber_cucumberjs_jest_golang_filter,
|
|
34
|
+
'xctest': cls.__initialize_xctest_filter
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
return initialization[config.framework](external_keys)
|
|
@@ -119,3 +120,8 @@ class FilterFactory:
|
|
|
119
120
|
autotest_keys.append('FullyQualifiedName~' + external_key)
|
|
120
121
|
|
|
121
122
|
return '|'.join(autotest_keys)
|
|
123
|
+
|
|
124
|
+
@staticmethod
|
|
125
|
+
def __initialize_xctest_filter(external_keys: typing.List[str]) -> str:
|
|
126
|
+
"""Initialize filter for XCTest run"""
|
|
127
|
+
return ';'.join(external_keys)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: This tool is the command line wrapper of Test IT allowing you to upload the test results in real time to Test IT
|
|
5
5
|
Home-page: https://pypi.org/project/testit-cli/
|
|
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
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: testit-api-client==7.1.
|
|
19
|
+
Requires-Dist: testit-api-client==7.1.1
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
@@ -54,4 +54,4 @@ You can see more information in [official documentation](https://docs.testit.sof
|
|
|
54
54
|
| 5.2.3 | 2.3.0.post523 |
|
|
55
55
|
| 5.3 | 2.4.5.post530 |
|
|
56
56
|
| 5.4 | 2.4.11.post540 |
|
|
57
|
-
| Cloud | 2.
|
|
57
|
+
| Cloud | 2.7.0 |
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|