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

Custom test runner #2356

Merged
merged 3 commits into from
Mar 6, 2023
Merged

Custom test runner #2356

merged 3 commits into from
Mar 6, 2023

Conversation

pbanaszkiewicz
Copy link
Contributor

This fixes #2355 by introducing a new test runner that silences loggers outputting to a stream (presumably stderr).

A new CLI argument --log-output is added to display logging at the end of test suite run.

Right now it is tied to only a single logger ("amy"), but I hope to
make it expandable to other loggers too.

As a proof-of-concept this works great, because it accepts many handlers.
Now handles all loggers. Minor changes to how handlers
are discovered (with `isinstance` now).
@pbanaszkiewicz pbanaszkiewicz added this to the v4.1 milestone Mar 4, 2023
@pbanaszkiewicz pbanaszkiewicz added this to In progress in CI/CD for development branch via automation Mar 4, 2023
@pbanaszkiewicz pbanaszkiewicz self-assigned this Mar 4, 2023
@pbanaszkiewicz pbanaszkiewicz merged commit 292fc68 into develop Mar 6, 2023
CI/CD for development branch automation moved this from In progress to Done Mar 6, 2023
@pbanaszkiewicz pbanaszkiewicz deleted the feature/2355-custom-test-runner branch March 6, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Remove logging output from test runs
2 participants