-
Notifications
You must be signed in to change notification settings - Fork 4
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
2.2.0 #11
Conversation
…stom folder (on testomatio end)
…run before pytest_runtestloop (actual tests)
pytestomatio/testRunConfig.py
Outdated
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 |
There was a problem hiding this comment.
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
pytestomatio/testItem.py
Outdated
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pytestomatio/main.py
Outdated
pytest.testomatio.test_run.status_request = {} | ||
|
||
|
||
def pytest_sessionfinish(session: Session, exitstatus: int): | ||
if os.environ.get('TESTOMATIO_RUN'): | ||
return |
There was a problem hiding this comment.
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
ea5d210
to
f525af0
Compare
…00 error from API
ok |
No description provided.