Skip to content
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

Dependency for Mockito static mocking is not recognized #836

Closed
alisevych opened this issue Sep 1, 2022 · 1 comment
Closed

Dependency for Mockito static mocking is not recognized #836

alisevych opened this issue Sep 1, 2022 · 1 comment
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

Description

Mockito static mocking is not recognized while dependency has already been added into IntelliJ project.

To Reproduce

  1. Open IntelliJ Idea with one of the latest installed UTBot plugin
  2. Create a new IntelliJ project with JDK 8/11
  3. Create "org/utbot/examples" package in src folder
  4. Copy-paste "mock" package into it
  5. Generate tests with UTBot... for MockStaticMethodExample with "Mockito static mocking" option
  6. Open Generate tests with UTBot... for MockStaticMethodExample again

Expected behavior

"Mockito static mocking" should be selected - and no red text should be displayed near it.

Actual behavior

"Mockito static mocking" is selected - and red text "will be configured" is displayed - although it has been already used.

Visual proofs (screenshots, logs, images)

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.4
IntelliJ project with JDK 11

@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Sep 1, 2022
@korifey korifey moved this to Todo in UTBot Java Sep 1, 2022
@alisevych alisevych added this to the Release preparation milestone Sep 7, 2022
@alisevych alisevych changed the title UI. Dependency for Mockito static mocking is not recongnized UI. Dependency for Mockito static mocking is not recognized Sep 12, 2022
@alisevych alisevych changed the title UI. Dependency for Mockito static mocking is not recognized Dependency for Mockito static mocking is not recognized Sep 12, 2022
@alisevych
Copy link
Member Author

Not relevant any more:
image

@alisevych alisevych closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2022
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
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug
Projects
Archived in project
Development

No branches or pull requests

3 participants