-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UtUtils class is not generated with the first UTBot test generation #879
Comments
Closed
This bug depends on #709 |
The issue seems to be obsolete now |
@Vassiliy-Kudryashov Thank you! Will check on different cases. |
Fixed with #709 |
Repository owner
moved this from Todo
to Done
in UTBot Java
Sep 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
UtUtils.deepEquals is used in generated CommonMocksExampleTest but not created.
Second UTBot execution generated UtUtils class.
To Reproduce
Steps to reproduce the behavior:
with "Other packages: Mockito" and "Mockito static mocking" options
Expected behavior
UtUtils class is supposed to be generated when used.
Actual behavior
UtUtils class is missed.
Import UtUtils.deepEquals is not found.
Tests are not compiling.
Second test generation for the same class creates UtUtils class.
Visual proofs (screenshots, logs, images)
There is the following strings in the generated test class:
Environment
Windows 10 Pro
UTBotJava project
JDK 11 is used
Additional context
Same for code when UtUtils.createInstance is used in the generated test.
The text was updated successfully, but these errors were encountered: