Open
Conversation
added 9 commits
August 28, 2025 17:18
…ctions, removed redundant methods, updated fields meta
added 8 commits
August 29, 2025 11:21
excluded cases section id update if update is not allowed
…constants, some log messages are improved
Collaborator
|
Hi @unroma we have created a new refactor branch: refactor/1.11.0 which is based on version 1.11.0. We will be using this branch to move or rebase refactored code gradually as we also test them. Please point this PR to the said branch. Thank you :) |
duncanGDIT
reviewed
Nov 18, 2025
| self.environment.log(success_message) | ||
|
|
||
| def _resolve_run_and_results_upload(self) -> None: | ||
| self.create_or_update_test_run() |
There was a problem hiding this comment.
If auto creation is "no", then why is the test run being created or updated? (Specification-first workflow). Perhaps an if-statement for if auto-creation is yes would be appropriate here
This file contains hidden or 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
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.
Issue being resolved:
#345
#244
#287
#127
Most probably solved:
#332
#340
Solution description
Caution! A lot of text below!
Current solution is not completed. Work in progress! It's not even tested properly and what is very important unit tests are not written/updated. So, now existing unit test will fail, no doubts about that. I' m going to update description time to time. Keep in mind that this text is not final.
For now I created new packages with the names of old and ending _v2 . When I finish the old packaged must be replaced.
I'm trying to leave some my thoughts and comments in code (later might be removed)
What was already done:
Changes
I will top up this step by step:
ResultsUploader. It's redundant. Junit parser didn't map empty sections and subsections. (and this is parser's responsibility). There is a case when empty section might be created:In that case section will be created, but I think this is expected behavior. It's possible to handle add prohibit creation, but I don't think is necessary and only will make logic more complicated.
instantiate_api_clientmethod moved fromProjectBasedClientto more appropriate place in api helpers packagePotential impacts
Many places, hard to say right now, will try to point later, together with unit tests
Steps to test
Currently hard. Only with replacements in imports.
Work still in progress. Also would be nice to have discussion with interested people form community.
I performed some common tests and looks like sulution works. Any way i will continue working on tests.
PR Tasks