flutter / flutter/flutter-intellij

Re-enable mockito tests

Open
#8,314 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

With the update to use the latest Gradle IJ plugins, specifically `org.jetbrains.intellij.platform` to `2.6.0`, our Mockito tests were all deleted in https://github.com/flutter/flutter-intellij/pull/8312.

It should be possible to migrate from powermock to MockK (or some other mocking library).

Contributor guide

Open the contributing guide

Research direction

Review PR #8312 and the current test sources to identify the Mockito tests that were deleted after the org.jetbrains.intellij.platform 2.6.0 update. Compare the existing PowerMock usage with a viable replacement such as MockK, then confirm that the restored tests run successfully under the updated Gradle setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.