Slow reporting when running thousands of test scenarios

Open
#578 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
performance

Research direction

Reproduce with a parameterized suite that runs thousands of invocations and profile the plug-in's test-result view and model update path; the issue gives no file, so start by locating where test events are pushed into the UI. Measure whether updates are applied per event or per batch, and check what happens on cancellation while the backlog drains. Done means large suites report without the UI lagging behind execution and stopping the run halts rendering promptly.

Written by the indexing model from the issue text.

Description

When (ab)using parameterized tests to run thousands of times, the execution finishes in a reasonable amount of time. However, the UI report takes much longer to complete. Naively it seems like something that could be buffered by time/space to reduce the UI rendering lag. It is a bit annoying only because when stopping the test execution (e.g. a failure), the UI keeps going and going as it catches up.

Image
Dominant language
Java
Stars
198
Forks
163
Avg merge
4m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from testng-team/testng-eclipse

All issues in testng-team/testng-eclipse

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.