testit-cli 2.7.2.post550__tar.gz → 2.7.3__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.7.2.post550 → testit_cli-2.7.3}/PKG-INFO +3 -3
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/README.md +1 -1
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/setup.py +2 -2
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/click_commands.py +2 -1
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/filter_factory.py +13 -1
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli.egg-info/PKG-INFO +3 -3
- testit_cli-2.7.3/src/testit_cli.egg-info/requires.txt +4 -0
- testit_cli-2.7.2.post550/src/testit_cli.egg-info/requires.txt +0 -4
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/LICENSE +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/setup.cfg +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/__init__.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/apiclient.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/autotests_filter.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/converter.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/dir_worker.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/html_escape_utils.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/importer.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/__init__.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/config.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/status.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/models/testrun.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/parser.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/service.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/service_factory.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli.egg-info/SOURCES.txt +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/src/testit_cli.egg-info/top_level.txt +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/tests/test_click.py +0 -0
- {testit_cli-2.7.2.post550 → testit_cli-2.7.3}/tests/test_service.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
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.2.0
|
|
19
|
+
Requires-Dist: testit-api-client==7.2.0
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
@@ -55,4 +55,4 @@ You can see more information in [official documentation](https://docs.testit.sof
|
|
|
55
55
|
| 5.3 | 2.4.5.post530 |
|
|
56
56
|
| 5.4 | 2.4.11.post540 |
|
|
57
57
|
| 5.5 | 2.7.2.post550 |
|
|
58
|
-
| Cloud | 2.7.
|
|
58
|
+
| Cloud | 2.7.2 |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from setuptools import find_packages, setup
|
|
2
2
|
|
|
3
|
-
VERSION = "2.7.
|
|
3
|
+
VERSION = "2.7.3"
|
|
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.2.0
|
|
29
|
+
install_requires=['testit-api-client==7.2.0', 'validators', 'tqdm', 'click~=8.0.4'],
|
|
30
30
|
entry_points={
|
|
31
31
|
'console_scripts': [
|
|
32
32
|
'testit = testit_cli.__main__:console_main'
|
|
@@ -166,6 +166,7 @@ def upload_attachments_for_test_run(url, token, testrun_id, debug, attachments,
|
|
|
166
166
|
|
|
167
167
|
PYTHON_FRAMEWORKS = ['pytest', 'robotframework', 'behave', 'nose']
|
|
168
168
|
JAVA_FRAMEWORKS = ['gradle-testng', 'gradle-junit5', 'gradle-junit4', 'gradle-cucumber', 'maven-testng', 'maven-junit5', 'maven-junit4', 'maven-cucumber']
|
|
169
|
+
KOTLIN_FRAMEWORKS = ['kotest']
|
|
169
170
|
JAVASCRIPT_FRAMEWORKS = ['cucumberjs', 'codeceptjs', 'jest', 'mocha', 'playwright', 'testcafe']
|
|
170
171
|
DOTNET_FRAMEWORKS = ['mstest', 'nunit', 'xunit', 'specflow']
|
|
171
172
|
GOLANG_FRAMEWORKS = ['golang']
|
|
@@ -177,7 +178,7 @@ SWIFT_FRAMEWORKS = ['xctest']
|
|
|
177
178
|
@click.option("-t", "--token", type=str, envvar='TMS_TOKEN', required=True, help="Set API token (T2lKd2pLZGI4WHRhaVZUejNl)")
|
|
178
179
|
@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)
|
|
179
180
|
@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)
|
|
180
|
-
@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")
|
|
181
|
+
@click.option("-f", "--framework", type=click.Choice(PYTHON_FRAMEWORKS + JAVA_FRAMEWORKS + KOTLIN_FRAMEWORKS + JAVASCRIPT_FRAMEWORKS + DOTNET_FRAMEWORKS + GOLANG_FRAMEWORKS + SWIFT_FRAMEWORKS), required=True, help="Set test framework")
|
|
181
182
|
@click.option("-d", "--debug", is_flag=True, help="Set debug logs")
|
|
182
183
|
@click.option("-o", "--output", type=str, required=True, help="Set file path for output (FILE)")
|
|
183
184
|
@click.option("-dcv", "--disable-cert-validation", is_flag=True, help="Disables certificate validation")
|
|
@@ -32,7 +32,8 @@ class FilterFactory:
|
|
|
32
32
|
'xunit': cls.__initialize_mstest_nunit_xunit_filter,
|
|
33
33
|
'specflow': cls.__initialize_specflow_filter,
|
|
34
34
|
'golang': cls.__initialize_cucumber_cucumberjs_jest_golang_filter,
|
|
35
|
-
'xctest': cls.__initialize_xctest_filter
|
|
35
|
+
'xctest': cls.__initialize_xctest_filter,
|
|
36
|
+
'kotest': cls.__initialize_kotest_filter,
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
return initialization[config.framework](external_keys)
|
|
@@ -72,6 +73,16 @@ class FilterFactory:
|
|
|
72
73
|
|
|
73
74
|
return ' '.join(autotest_keys)
|
|
74
75
|
|
|
76
|
+
@staticmethod
|
|
77
|
+
def __initialize_kotest_filter(external_keys: typing.List[str]) -> str:
|
|
78
|
+
"""Initialize filter for gradle kotest"""
|
|
79
|
+
autotest_keys = []
|
|
80
|
+
|
|
81
|
+
for external_key in external_keys:
|
|
82
|
+
autotest_keys.append('--tests ' + external_key)
|
|
83
|
+
|
|
84
|
+
return ' '.join(autotest_keys)
|
|
85
|
+
|
|
75
86
|
# @classmethod
|
|
76
87
|
# def __initialize_jbehave_filter(cls, external_keys: typing.List[str]):
|
|
77
88
|
# """Initialize filter for JBehave run"""
|
|
@@ -131,3 +142,4 @@ class FilterFactory:
|
|
|
131
142
|
def __initialize_xctest_filter(external_keys: typing.List[str]) -> str:
|
|
132
143
|
"""Initialize filter for XCTest run"""
|
|
133
144
|
return ';'.join(external_keys)
|
|
145
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.3
|
|
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.2.0
|
|
19
|
+
Requires-Dist: testit-api-client==7.2.0
|
|
20
20
|
Requires-Dist: validators
|
|
21
21
|
Requires-Dist: tqdm
|
|
22
22
|
Requires-Dist: click~=8.0.4
|
|
@@ -55,4 +55,4 @@ You can see more information in [official documentation](https://docs.testit.sof
|
|
|
55
55
|
| 5.3 | 2.4.5.post530 |
|
|
56
56
|
| 5.4 | 2.4.11.post540 |
|
|
57
57
|
| 5.5 | 2.7.2.post550 |
|
|
58
|
-
| Cloud | 2.7.
|
|
58
|
+
| Cloud | 2.7.2 |
|
|
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
|