Skip to content

Do not miss errors in generated test class #1508

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

Merged
merged 2 commits into from
Dec 12, 2022
Merged

Conversation

EgorkaKulikov
Copy link
Collaborator

Description

There was a bug in code that regions with error methods are not added in generated test class if there were no executions.
This behaviour can be reproduced on the example from the mentioned issue. Current pr fixes it.

Fixes # (1499)

Type of Change

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

How Has This Been Tested?

Regression and integration tests

Standard utbot pipeline; mostly on parameterized tests because incorrect condition was added during their support.

Manual Scenario

Check behavior when sandbox policy is both enabled and disabled

@EgorkaKulikov EgorkaKulikov merged commit 9de97f8 into main Dec 12, 2022
@EgorkaKulikov EgorkaKulikov deleted the egor/empty_test_class branch December 12, 2022 10:04
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.

2 participants