-
Notifications
You must be signed in to change notification settings - Fork 46
Project version of 'utbot-api' used instead of plugin one #1099
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
Comments
@sergeypospelov This is in Release branch, not in main |
As I found out it looks like there is some type of conflict between plugin The utbot project I used for testing was quite old and didn't have commit which introduced I think we need some kind of investigation why it happens and how to prevent such problems in future, so we could safely use samples from the project and not worry about potential conflicts. |
Additional context Reproduced. Most assuredly UtMock class is used not from the installed plugin, but from the opened and built project. Steps to reproduce
Expected behavior Tests are supposed to be generated without errors. Actual behavior There is the following error test: Comments There is no method UtMock.assumeOrExecuteConcretely before 07.06.2022 in UtMock class. |
Uh oh!
There was an error while loading. Please reload this page.
Description
When using samples from UTBot java project libraries compiled from this project are used during test generation.
To Reproduce
Steps to reproduce the behavior:
UtMock.disableClassCastExceptionCheck(Object object)
org.utbot.examples.algorithms.Graph
class from UTBot Java projectExpected behavior
No errors during generation of the test, because plugin uses its own libraries
Actual behavior
One of the error tests has no executable code and reveals that project code was used during generation
The text was updated successfully, but these errors were encountered: