Parallel Tests build feature is not creating more than 1 batch
We're trying to use Parallel Test build feature to run our tests however when feature is enabled it creates only 1 batch and do not parallelize the run. We use composite build with build chains to create environment, execute tests and destroy environment. After enabling feature tried 4 build but none of them created more than 1 batch for same set of tests.
We've a build step written in PowerShell script to call testcafe runner which invoke tests.
Our build chain for test execution in Teamcity looks like:
Without Parallel build feature:

Enabled Parallel build feature with 2/3 batches:

Teamcity version: TeamCity Enterprise 2022.10
Agents: 3 agents available
Please sign in to leave a comment.
Hello,
It looks like it does not detect the tests due to the build runner being used, and because of the way the tests are being executed (testcafe called from a PS script). As explained in our documentation:
If you want to use the Parallel Tests build feature, please consider to use one of the runners above instead.
Thank you,
Guilherme