Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

EgorkaKulikov
Copy link
Collaborator

Description

Support several behavior options if tests generation is cancelled by user

  • continue and do not react
  • finish gracefully and generate tests for already processed classes
  • cancel undoubtedly without any output

The default behavior is to finish gracefully as requested. It can be changed with a special option in UtSettings.

Fixes # (1234)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual Scenario

  • create a package with several classes
  • run tests generation and cancel it in the middle of the process
  • verify that the behavior is equivalent to the declared one

@EgorkaKulikov EgorkaKulikov linked an issue Dec 6, 2022 that may be closed by this pull request
@Vassiliy-Kudryashov Vassiliy-Kudryashov enabled auto-merge (squash) December 6, 2022 15:22
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit fca42cf into main Dec 6, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the egor/easy_cancellation_correction branch December 6, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test generation results are eliminated after cancel
2 participants