09-15-2025 06:12 AM - edited 09-15-2025 06:23 AM
Hi All,
I am currently working on a pyATS automation project where I have implemented parallel execution of testcases using the aetest framework.
So far, my script provides an overall summary at the end of execution, including the number of tests that passed, failed, and errored, along with the full report.
Here is a simplified version of my current code structure:
What I want to achieve:
In addition to the overall results, I want to generate a detailed summary for each test suite executed in parallel.
For every test suite, I want to know:
Number of passed tests
Number of failed tests
Number of errored tests
Total tests executed
Basically, I want both overall and per-test-suite results after the run, ideally in a single report or JSON summary.
My Question:
What is the best approach to collect per-test-suite statistics in pyATS while running testcases in parallel execution?
Should I use shared variables, or is there a built-in pyATS API for this?
Are there any examples of suite-level reporting in pyATS for parallel execution?
Thanks in advance for your guidance!
@bigevilbeard
09-15-2025 06:59 AM
So what i would do it, process runtime job tasks after the parallel execution completes, this would gives you exactly what you need without modifying existing the test code.
Hope this helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide