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

Test generation results are eliminated after cancel #1234

Closed
alisevych opened this issue Oct 26, 2022 · 2 comments · Fixed by #1458
Closed

Test generation results are eliminated after cancel #1234

alisevych opened this issue Oct 26, 2022 · 2 comments · Fixed by #1458
Assignees
Labels
comp-codegen Issue is related to code generator ctg-bug Issue is a bug priority-top-focus Top priority chosen by dev team

Comments

@alisevych
Copy link
Member

alisevych commented Oct 26, 2022

Description

All test generation results are eliminated after cancel

Steps to reproduce

  1. Test generation is started for several classes.
  2. Wait Progress bar to show that generation for 2nd / 3rd class has been already started.
  3. Cancel is clicked.

Expected result

Test classes should be created - for those classes that were processed before cancellation.

Actual result

No test classes are produced. No notification is shown.

Visual proofs

image

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.4 / 2022.2.3
UnitTestBot version - reproducing on different builds from main, for example

Additional context

Originally posted by @alisevych in #1187 (comment)

@korifey korifey moved this to Todo in UTBot Java Oct 26, 2022
@alisevych alisevych added ctg-bug Issue is a bug ctg-question Further information is requested labels Oct 26, 2022
@alisevych
Copy link
Member Author

@denis-fokin Please advise on the expected behavior: should already performed executions be saved as the resulting test classes?

@alisevych alisevych added ctg-enhancement New feature, improvement or change request and removed ctg-bug Issue is a bug labels Oct 27, 2022
@alisevych alisevych added this to the 2022.12 Release milestone Nov 8, 2022
@alisevych alisevych added ctg-bug Issue is a bug priority-top-focus Top priority chosen by dev team comp-codegen Issue is related to code generator and removed ctg-enhancement New feature, improvement or change request ctg-question Further information is requested labels Nov 30, 2022
@alisevych
Copy link
Member Author

@Vassiliy-Kudryashov Verified this bug on July build - the UnitTestBot current results have been saved after cancel was clicked in the middle of test generation process.

@EgorkaKulikov EgorkaKulikov linked a pull request Dec 6, 2022 that will close this issue
Repository owner moved this from Todo to Done in UTBot Java Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-codegen Issue is related to code generator ctg-bug Issue is a bug priority-top-focus Top priority chosen by dev team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants