Skip to content
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

2.2.0 #11

Merged
merged 15 commits into from
Apr 9, 2024
Merged

2.2.0 #11

merged 15 commits into from
Apr 9, 2024

Conversation

tikolakin
Copy link
Collaborator

No description provided.

result['title'] = self.title
result['group_title'] = self.group_title
result['env'] = self.environment
result['label'] = self.label
result['parallel'] = self.parallel
result['parallel'] = self.shared_run # !!!! If shared run then it's parallel run in principle
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavertMik hi, I think you are the best person to assist here
What is the reason for having both parallel and shared_run?
ref. https://testomatio.github.io/reporter/#/paths/~1api~1reporter/post

value = item.callspec.params.get(key, '')
if type(value) is bytes:
string_value = value.decode('utf-8')
elif isinstance(value, (str, int, float, bool)):
string_value = str(value)
else:
string_value = 'Unsupported type'
return string_value
# TODO: handle "value with space" on testomatio BE
return string_value.replace(" ", "_") # Temporary fix for spaces in parameter values
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pytest.testomatio.test_run.status_request = {}


def pytest_sessionfinish(session: Session, exitstatus: int):
if os.environ.get('TESTOMATIO_RUN'):
return
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DavertMik what BE supposed todo when a shared test run never gets a "status_event": "finish" event
but only "status_event": "finish_parallel"
https://testomatio.github.io/reporter/#/paths/~1api~1reporter/post

@Ypurek
Copy link
Collaborator

Ypurek commented Apr 9, 2024

ok

@Ypurek Ypurek merged commit 3df7278 into testomatio:master Apr 9, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants