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

Faster test runs by suppressing output. #31

Open
ioquatix opened this issue Aug 8, 2023 · 0 comments
Open

Faster test runs by suppressing output. #31

ioquatix opened this issue Aug 8, 2023 · 0 comments

Comments

@ioquatix
Copy link
Member

ioquatix commented Aug 8, 2023

One of the slowest parts of running tests is collecting output.

If a test is successful, the output would never even be looked at.

I believe we can improve performance significantly by doing the following:

  • Running all tests with null output.
  • Collect failed tests.
  • Re-run them with verbose logging and output buffering.
  • Use that to log failures.

The question is whether we can make running the test suite with null output significantly faster.

We should also have hooks for verbose logging, e.g. enabling Console logger to be verbose. We might need to use a standard hook, e.g. $VERBOSE and/or $DEBUG should be set.

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

No branches or pull requests

1 participant