TUnit icon indicating copy to clipboard operation
TUnit copied to clipboard

Feature Request: Possibility to support CI_NODE_INDEX / CI_NODE_TOTAL

Open schmitch opened this issue 11 months ago • 5 comments

currently gitlab has a system to basically parallelize tests based on different servers/runners via CI_NODE_INDEX and CI_NODE_TOTAL, see: https://docs.gitlab.com/ci/yaml/#parallel

it would be amazing if tunit would be able to do support that use case

schmitch avatar Mar 28 '25 13:03 schmitch

Can you pass these to the CLI?

E.g. dotnet run --batch-filter ${CI_NODE_INDEX}/${CI_NODE_TOTAL}

thomhurst avatar Mar 28 '25 16:03 thomhurst

actually that would be possible

schmitch avatar Mar 28 '25 17:03 schmitch

I was planning a batch filter already, but filters aren't currently open to extension by the Microsoft test platform. So I'll keep this open but it may not be any time soon 😄

thomhurst avatar Mar 28 '25 17:03 thomhurst

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Apr 28 '25 00:04 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar May 04 '25 00:05 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jun 04 '25 00:06 github-actions[bot]

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 07 '25 00:07 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Jul 13 '25 00:07 github-actions[bot]