You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When generating parametrized test for Graph class there are two opposite asserts appears in one of the tests: assertNotNull and assertNull.
To Reproduce
Steps to reproduce the behavior:
Open the 'UTBot Java' project in IntelliJ Idea
Use plugin to generate parametrized tests for org.utbot.examples.algorithms.Graph#getAdj. No matter if it's JUnit5 or TestNG.
Open the generated test
Expected behavior
Generated test would looks something like that. One assert type in each if/else branch
Description
When generating parametrized test for
Graph
class there are two opposite asserts appears in one of the tests:assertNotNull
andassertNull
.To Reproduce
Steps to reproduce the behavior:
org.utbot.examples.algorithms.Graph#getAdj
. No matter if it's JUnit5 or TestNG.Expected behavior
Generated test would looks something like that. One assert type in each
if/else
branchActual behavior
Please note that
else
branch contains two opposite assertions.Additional context
The problem is pre-existing, it also exists in 2022.2.5.
The text was updated successfully, but these errors were encountered: