Closed
Description
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 no Throw
in the name as it was expected.
To Reproduce
- Install UnitTestBot plugin built from main in IntelliJ IDEA
- Open UTbot Java project
- Generate tests for
org.utbot.examples.algorithms.Graph#isCyclic()
with options:- JUnit4
- Mock everything outside the class
- Disable Mock static methods.
Expected behavior
Error tests have Throw
in their names
Actual 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)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done