Matrix Support for Test Intelligence
pending feedback
ompragash
Hi Krishna,
Apologies for the delayed follow-up here. Test Intelligence does support matrix strategies, and we'd like to help get this working for your mono-repo setup.
To help us investigate, could you share:
- A sample of your pipeline YAML showing the matrix configuration with the TI step
- What specific behavior you're seeing that's not working as expected (e.g., tests not being selected correctly, report files conflicting, all tests running every time)
- Which TI step version you're using (Test step v2 or the older RunTests step)
One thing to note: when using matrix/parallelism with TI, each iteration needs unique report file names (e.g., result_<+strategy.iteration>.xml) to avoid conflicts. More details here: https://developer.harness.io/docs/continuous-integration/use-ci/run-tests/ti-overview
Looking forward to your response so we can help resolve this.
N
Nofar Bluestein
Hey,
Thank you for your feedback.
can you please provide a sample for how would you like to use matrix with IT?
N
Nursing Silverfish
Nofar Bluestein We are running a pipeline with Mono repo that contains multiple sub-projects each project contains in Unit Tests. When we use the matrix strategy for this with TI Unit Tests, it's not working as expected.
N
Nofar Bluestein
updated the status to
pending feedback