Skip to content

Display total processes used at the end #368

Open
@Chemaclass

Description

@Chemaclass

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions