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

Skip to content

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