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 fails if any unexpected exception occurs for a single method #661 #662

Conversation

Markoutte
Copy link
Collaborator

Description

The problem that Flow.collect will be canceled with exception if any runtime exception occurs. To fix this the catch block is added to the flow with logging the error

Fixes #661

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual Scenario

Reproduce example from the #661. Tests should be generated.

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@Markoutte Markoutte requested a review from denis-fokin August 4, 2022 08:54
@Markoutte Markoutte merged commit 56e09dd into main Aug 4, 2022
@Markoutte Markoutte deleted the pelevin/611_Test_generation_fails_if_any_unexpected_exception_occurs_for_a_single_method branch August 4, 2022 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Test generation fails if any unexpected exception occurs for a single method
2 participants