Error test has strange name and doesn't contain Throw
in it. JUnit4.
#2376
Labels
comp-summaries
Something related to the method names, code comments and display names generation
ctg-bug
Issue is a bug
Milestone
Description
One of generated test for JUnit4 has unusual name
testIsCyclic_CEquals1
even though it's properly placed in error suite and has comment about thrown exception it has noThrow
in the name as it was expected.To Reproduce
org.utbot.examples.algorithms.Graph#isCyclic()
with options:Expected behavior
Error tests have
Throw
in their namesActual behavior
One of the test in error suite has name:
testIsCyclic_CEquals1
Screenshots, logs
Additional info
There is also positive test with similar strange name
testIsCyclic_CNotEquals1
Environment
IntelliJ IDEA version - 2023.1.3
UTBot Plugin - 2023.7.4756 (main branch)
The text was updated successfully, but these errors were encountered: