QE live progress example — Manoj Perla 1. Download qe_progress.py into your project root. 2. Install pytest and pytest-xdist in your test environment. 3. From the project root: python -m pytest -p qe_progress -n 4 --dist=load --progress-every=10 --progress-seconds=30 --junitxml=report.xml 4. Search for [progress] in the running GitHub Actions log. 5. Optional: use progress.yml as .github/workflows/progress.yml. Adapt dependencies. Demo: python -m pytest -p qe_progress test_progress_demo.py -n 2 --progress-every=1 Expected completed=9/9, passed=3, failed=1, errors=2, skipped=1, xfailed=1, xpassed=1. Deliberate errors and failures mean exit code 1. pytest's own totals count phase reports differently (the teardown-error test also has a passing call). Counting rules: - Unique node IDs, finalized after teardown; setup and teardown errors count once. - Rerun reports are attempts, not completed tests. Requires pytest-rerunfailures for reruns. - Remaining includes queued and in-flight tests. No ETA. - Timed updates are report-driven, not a background heartbeat. - Separate matrix jobs/shards are separate invocations; no cross-job aggregation. - Worker crashes mark the result incomplete; they are not silently counted as passes. - xdist --dist=each and --looponfail are unsupported and rejected. - Assumes unique node IDs: do not use --keep-duplicates or repeated-test plugins. - Collection errors are separate from executed-test outcomes. - Ctrl-C, maxfail and crashes may leave remaining > 0. - GITHUB_STEP_SUMMARY is written at session end. Logs provide live progress. - Plugin sends no data to external services. References: https://docs.pytest.org/en/stable/reference/reference.html#pytest.hookspec.pytest_runtest_logreport https://pytest-xdist.readthedocs.io/en/stable/how-it-works.html