Skip to content

Test generation results are eliminated after cancel #1234

Closed

Description

@alisevych

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)

Activity

  1. moved this to Todo in UTBot Javaon Oct 26, 2022
  2. added
    ctg-bug
    ctg-question
    on Oct 26, 2022
  3. alisevych commented on Oct 27, 2022

    @alisevych
    MemberAuthor

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

  4. added
    ctg-enhancement
    and removed
    ctg-bug
    on Oct 27, 2022
  5. added this to the 2022.12 Release milestone on Nov 8, 2022
  6. added
    ctg-bug
    priority-top-focus
    comp-codegen
    and removed
    ctg-enhancement
    ctg-question
    on Nov 30, 2022
  7. alisevych commented on Nov 30, 2022

    @alisevych
    MemberAuthor

    @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.

  8. linked a pull request that will close this issueImprove test generation cancellation #1458on Dec 6, 2022
  9. Repository owner moved this from Todo to Done in UTBot Javaon Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-codegenctg-bugpriority-top-focus

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions