Identical @DisplayName
for tests on enum methods
#1588
Labels
comp-summaries
Something related to the method names, code comments and display names generation
ctg-bug
Issue is a bug
Description
When UTBot generates tests for Enum methods then generated test methods have identical names with just method name -
@DisplayName("findStateByCode: ")
To Reproduce
Steps to reproduce the behavior:
utbot
projectorg.utbot.examples.enums.State
Expected behavior
Tests names are different and meaningful
Actual behavior
Methods names are like
testFindStateByCode_1
and@DisplayName("findStateByCode: ")
Visual proofs

The text was updated successfully, but these errors were encountered: