testit-cli 2.7.0__tar.gz → 2.7.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.
- {testit_cli-2.7.0 → testit_cli-2.7.1}/PKG-INFO +1 -1
- {testit_cli-2.7.0 → testit_cli-2.7.1}/setup.py +1 -1
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/click_commands.py +1 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/filter_factory.py +8 -2
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/PKG-INFO +1 -1
- {testit_cli-2.7.0 → testit_cli-2.7.1}/LICENSE +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/README.md +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/setup.cfg +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/__init__.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/__main__.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/apiclient.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/autotests_filter.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/converter.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/dir_worker.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/file_worker.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/html_escape_utils.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/importer.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/logger.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/__init__.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/config.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/mode.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/status.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/testcase.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/models/testrun.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/parser.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/service.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/service_factory.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli/validation.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/SOURCES.txt +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/dependency_links.txt +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/entry_points.txt +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/requires.txt +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/src/testit_cli.egg-info/top_level.txt +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/tests/test_click.py +0 -0
- {testit_cli-2.7.0 → testit_cli-2.7.1}/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.1
|
|
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
|
|
@@ -171,6 +171,7 @@ DOTNET_FRAMEWORKS = ['mstest', 'nunit', 'xunit', 'specflow']
|
|
|
171
171
|
GOLANG_FRAMEWORKS = ['golang']
|
|
172
172
|
SWIFT_FRAMEWORKS = ['xctest']
|
|
173
173
|
|
|
174
|
+
|
|
174
175
|
@execute.command("autotests_filter")
|
|
175
176
|
@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
177
|
@click.option("-t", "--token", type=str, envvar='TMS_TOKEN', required=True, help="Set API token (T2lKd2pLZGI4WHRhaVZUejNl)")
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import re
|
|
2
3
|
|
|
3
4
|
from .models.config import Config
|
|
4
5
|
|
|
@@ -89,7 +90,12 @@ class FilterFactory:
|
|
|
89
90
|
@classmethod
|
|
90
91
|
def __initialize_codeceptjs_mocha_playwright_filter(cls, external_keys: typing.List[str]) -> str:
|
|
91
92
|
"""Initialize filter for CodeceptJS or Mocha or Playwright run"""
|
|
92
|
-
|
|
93
|
+
autotest_keys = []
|
|
94
|
+
|
|
95
|
+
for external_key in external_keys:
|
|
96
|
+
autotest_keys.append(re.escape(external_key))
|
|
97
|
+
|
|
98
|
+
return '|'.join(autotest_keys)
|
|
93
99
|
|
|
94
100
|
@classmethod
|
|
95
101
|
def __initialize_cucumber_cucumberjs_jest_golang_filter(cls, external_keys: typing.List[str]) -> str:
|
|
@@ -97,7 +103,7 @@ class FilterFactory:
|
|
|
97
103
|
autotest_keys = []
|
|
98
104
|
|
|
99
105
|
for external_key in external_keys:
|
|
100
|
-
autotest_keys.append('^' + external_key + '$')
|
|
106
|
+
autotest_keys.append('^' + re.escape(external_key) + '$')
|
|
101
107
|
|
|
102
108
|
return '|'.join(autotest_keys)
|
|
103
109
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: testit-cli
|
|
3
|
-
Version: 2.7.
|
|
3
|
+
Version: 2.7.1
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|