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

Display total processes used at the end #368

Open
Chemaclass opened this issue Oct 12, 2024 · 0 comments
Open

Display total processes used at the end #368

Chemaclass opened this issue Oct 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Chemaclass
Copy link
Member

Status quo

Right now, when running tests in parallel, each test file will be executed in a different child process.

Expected

When running tests in parallel, display the total parallel processes used.

Tech hint

Possible solutions
A: create a global variable and for each runner::call_test_functions & increment it by 1, and later use it
B: use the total files used in runner::load_test_files [this is simpler than A]
C: figure out how to get the possible max child processes created by the system and save it in a variable

While I would consider C is the most correct one, I think B is the simplest and better approach to do first.


Idea inspired by Pest, eg pest --parallel --processes=10
Screenshot 2024-10-12 at 19 45 25

@Chemaclass Chemaclass added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant