Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Apr 12:09
· 200 commits to main since this release
a6bf663

Added

  • #4: Added an intention action that can convert Mockito.mock() calls to @Mock annotated fields.
  • #8: Added a new inspection that reports multiple consecutive calls on *Throw() stubbing calls.
    They can be merged into a single such call.
  • #8: Merging of consecutive *Return() and *Throw() stubbing calls can happen separately if
    there are multiple such sections within a stubbing call chain. They, from now on, also keep line wrapping and indentation after applying the quick fix.
  • #12: Added a new intention action that can convert arguments of *Throw() stubbing methods
    from Type.class expressions to new Type() expressions and vice versa.
  • #13: Added 4 new intention actions that can convert between the various stubbing approaches.
  • #15: Added 2 new intention actions that can convert between the Mockito.verify()
    and BDDMockito.then() approaches, and vice versa.
  • #16: Added a new inspection that can enforce org.mockito.Mockito or org.mockito.BDDMockito based
    stubbing and verification.