Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress bar shows the progress stepwise and incorrectly #1196

Closed
alisevych opened this issue Oct 20, 2022 · 1 comment · Fixed by #1203 or #1215
Closed

Progress bar shows the progress stepwise and incorrectly #1196

alisevych opened this issue Oct 20, 2022 · 1 comment · Fixed by #1203 or #1215
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug status-verified Bug fix is verified

Comments

@alisevych
Copy link
Member

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)

@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Oct 20, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 20, 2022
@alisevych alisevych changed the title IDEA progress bar shows the progress stepwise and incorrectly Progress bar shows the progress stepwise and incorrectly Oct 20, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Oct 20, 2022
Repository owner moved this from In Progress to Done in UTBot Java Oct 21, 2022
@alisevych
Copy link
Member Author

alisevych commented Oct 21, 2022

Progress is still shown stepwise. Need to show it smoothly - during another class generation.

@alisevych alisevych reopened this Oct 21, 2022
Repository owner moved this from Done to In Progress in UTBot Java Oct 21, 2022
Vassiliy-Kudryashov added a commit that referenced this issue Oct 21, 2022
Add inner smooth animation for every class
Vassiliy-Kudryashov added a commit that referenced this issue Oct 24, 2022
Add inner smooth animation for every class
Repository owner moved this from In Progress to Done in UTBot Java Oct 24, 2022
@alisevych alisevych added the status-verified Bug fix is verified label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug status-verified Bug fix is verified
Projects
Archived in project
2 participants