-
Notifications
You must be signed in to change notification settings - Fork 32
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
Log all pytest output in the Jobflow testing module #5613
Comments
The changes to the _run_tests method in testing.py, in order to view the logs of passed tests, have been applied to a new branch: enhacement/5613-change_run_tests-method. A new pull request was made to merge the branch with the specified changes with branch 4.9.0: #5621 |
Good job, let's perform some execution from the branch where the changes were made, to ensure that it does not fail due to some indentation, and incorporate the executed test into the associated PR. |
Testing has been done on the linked issue with the change proposed |
Updated the branch from |
LGTM |
LGTM |
Description
Testing wazuh/wazuh#24935, it has been observed that the pytest output only appears if an error occurs, we need to change this so we can log the passed tests too
https://github.com/wazuh/wazuh-qa/blob/v4.9.0-alpha3/deployability/modules/testing/testing.py#L86-L102
We need to change the _run_tests method of the testing.py file to the following
This has been tested with the mentioned testing issue and in the log, the pytest output can be observed
This is going to be treated as a bug as it is not desired to hide testing output
The text was updated successfully, but these errors were encountered: