TryAtSoftware / CleanTests

TryAtSoftware.CleanTests is a modern framework for execution and generation of automated tests in .NET
MIT License
13 stars 0 forks source link

Global utilities should know about the maximum number of test cases executed in parallel #36

Open TonyTroeff opened 1 year ago

TonyTroeff commented 1 year ago

Currently, there is a problem related to the fact that initialization of resources is happening as a part of the test execution. The global utilities should be pre-configured. Because test cases may be executed in parallel, most global utilities are initialized with slots that are used proportionally. The number of these slots is equal to the MaxDegreeOfParallelism configuration parameter.

TonyTroeff commented 1 year ago

We should try to optimize this number as if none of the tests reaches this maximum it makes no sense to utilize excessive amount of free slots.