Closed
Description
Description
If UtUtils
with mocking support exists and then it's not required during next test generation then UtUtils
has been updated with version which doesn't take into account mocking, so tests created earlier may not work properly.
To Reproduce
Steps to reproduce the behavior:
- Open
utbot
project - Generate tests for
org.utbot.examples.mock.CommonMocksExample
class withMock everything outside class
option. ThenUtUtils
created with mocking support. - Now generate tests for
org.utbot.examples.collections.QueueUsages
class withDo not mock
option. - Open the
org.utbot.runtime.utils.java.UtUtils
class
Expected behavior
The version with mock framework support is left. Assuming that deepEquals
would work properly with both "normal" and mocked objects.
Actual behavior
UtUtils
replaced with new version which doesn't support mocking, so potentially may not properly work with already generated tests for CommonMocksExample
Metadata
Metadata
Assignees
Type
Projects
Status
Done