-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix counting of tests in xunit_suite #7
Open
dis-xcom
wants to merge
25
commits into
gdyuldin:master
Choose a base branch
from
dis-xcom:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix for the following error: File "/home/jenkins/venv_testrail_reporter/local/lib/python2.7/site-packages/xunit2testrail/utils.py", line 144, in map if len(mapping) == 0 and all([len(xunit_suite), len(testrail_cases)]): TypeError: object of type 'TestSuite' has no len()
Bugfix for testcases with names with '[(,' in name. Remove 'pytest-catchlog' from requirements.
- add --extras to run tests in tox.ini - remove py34
--testrail-add-missing-cases : enables creation missing cases in the specified testrail suite from xunit results --testrail-case-section-name : section to which the new cases will be added; default: "All" --testrail-case-custom-fields : json string with additional custom fields for new testrail cases, default: '{"custom_qa_team": "9"}' , where 9 is `id` for MCP
- Add an option '--testrail-request-timeout' with default value: 1 hour. This would help with TestRail maintenance windows, API rate limits, connection errors. - Add .gitreview for review.gerrithub.io Change-Id: I2a354b84c8668e0e78366ff225ab898c627d4037 Related-Bug:#PROD-23553
Change-Id: I650e2ae90686e85c0c81c02c917ae0dd5ced49a7
1. pytest marks are deprecated in pytest.mark.parametrize https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize 2. Remove py27 from tests Change-Id: Ib126a9d6281b1593b556aa7fea6966dc99fe47f3
Change-Id: I21bb68d830e8da60289e9f5e0ce49e291e924c82
Change-Id: I2d3b5b818f87b8e327ed21458590053d7c3d8081 PROD-33311
PROD-33311 Change-Id: Ic70e7e673c1fcc3b7d3ab925ce774e3774e54396
Provide configuration name with a new testrail_configuration_name parameter, where test environment name is located. Corresponding environment will be shown near test run and tests will be grouped by test suite name run in diffrent environemnts. - if environment not in provided configuration, new group won't be created - if environment added to the configuration after group for that configuration was already created, new group won't be created Change-Id: I6493cc53b537297bcb7d7c2ac48d4b0e5f604149
Change-Id: I5cca0b9f7f73ac569182c8b328bd9456176f4f1d
While creating entry with several runs at once. If no configuration provided config_ids will be empty list. Change-Id: If36f49be3e9a5378cbd7ed64733c6f146bbcc773
Now config_ids is required in request if updatede entry has configs. And should be ommited if no configs provided for the entry. Also make json only from fields described in the documentation Update corresponding unit test Change-Id: I20d3a0b19e740a10ed1a1e278c7f8cdd3f20aac3
Change-Id: I9e634161ade99ae3c18524d82a24beab753e238a Author: TatyankaLeontovich
PRODX-2515 Change-Id: I0364f7837250fd05326f48079253391ee61b47b6
Change-Id: I4ee89c9f073cd44c5c31a9dbae41781bc89f8108
Do not waste time creating testcases in TestRail for the skipped results. This speed up k8s reports in ~8 times PRODX-00000 Change-Id: Ifae08a0b826d1151f15319b10a827df86f7928e2
- Use --testrail-run-description "BLABLA" to create *new* test run with that description instead of default - remove py35 from tox.ini PRODX-5159 Change-Id: I8f23c961494d7db508fec970d80d5f421e598ca0
related: PRODX-5159 Change-Id: I68c98e03c81b320a4309e6d4ca02c889b8b3cfd2
PRODX-5159 Change-Id: I75c743619af9a3be657b1a82f13ed3f4f444005d
PRODX-10103 Change-Id: I3ac4acc7e7a8e6ad3fe0c5a31508ae949737b3b5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix for the following error:
File
"/home/jenkins/venv_testrail_reporter/local/lib/python2.7/site-packages/xunit2testrail/utils.py", line 144,
in map
if len(mapping) == 0 and all([len(xunit_suite), len(testrail_cases)]):
TypeError: object of type 'TestSuite' has no len()