Skip to content

Progress bar shows the progress stepwise and incorrectly #1196

@alisevych

Description

@alisevych

Description

IDEA progress bar doesn't show real progress. It is updated stepwise.
When half classes in a package had been selected the progress shows the middle position at the end.

To Reproduce

  1. Run the 'UTBotJava' project in IntelliJ Idea
  2. UnitTestBot plugin is installed - RC build
  3. In Project view find utbot-sample/src/main/java/org/utbot/examples/algorithms
  4. Press Ctrl and left-click on three classes

image

  1. Right-click and select Generate tests with UnitTestBot...
  2. Three classes are present in Members list
  3. Select Generate and Run
  4. Wait when generation is finished

Expected behavior

Progress bar is expected to show the progress of generation smoothly.
The whole line should be divided by the number of classes/methods selected in Members list.

Actual behavior

Progress bar is not changing when a class is being processed.
It changes once a class has been processed - stepwise. When last class is generated progress bar shows about half progress.

Visual proofs (screenshots, logs, images)

image

image

image

Environment

WINDOWS 10 Pro
IntelliJ IDEA 2022.2.3 (Oct 5)

Metadata

Metadata

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-bugIssue is a bugstatus-verifiedBug fix is verified

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions