Skip to content

Powermock to Raw Mockito Migration Feature Request #696

@blamepotato

Description

@blamepotato

What problem are you trying to solve?

This recipe currently does not support doReturn, doThrow, stub, method...

What precondition(s) should be checked before applying this recipe?

Describe the situation before applying the recipe

Tests contain doReturn and other not supported methods

Describe the situation after applying the recipe

Got compilation errors as Mockito's doReturn has different number of params
PowermMock's stub and method are still in the tests

Have you considered any alternatives or workarounds?

Any additional context

Are you interested in contributing this recipe to OpenRewrite?

Yes. I'm new to open source, I would appreciate detailed steps on how to get started

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Recipes Wanted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions