You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
#19: Added bulk options to convert verifications from BDDMockito.then() and Mockito.verify() by selecting one or more
verifications in the editor.
#20: Extended the conversion of InOrder.verify() call chains with a bulk mode,
so that if multiple (or just a single) such call chain is selected/highlighted in the editor, they all can be converted to the same approach at once.
#21: Added an inspection to report InOrder local variables that are used in only one verification call.
Besides MockedStatic, it can report for both InOrder.verify() and BDDMockito.then().should(InOrder) verifications.
#22: Added a new action to convert from and to InOrder.verify() based verification.
Along with it, extended the possible conversion options from and to Mockito.verify() and BDDMockito.then() as well.
Details are available in the Verifications document.
#23: Added a quick fix, so that checked exceptions can be added to the stubbed method's throws clause
when they are specified in the stubbing, but not in the mentioned throws clause.
#24: Strictness configuration is now supported by the conversion between @Mock and Mockito.mock(Class, MockSettings) in both directions.
EnforceConventionInspection can now report InOrder.verify() calls too, as part of enforcing BDDMockito.then() verification.
#27: Added an inspection that can report mock objects used in misconfigured InOrder verifications.
Changed
Removed support for IJ2021.1. From now on 2021.2 is the earliest version supported.
Fixed
Fixed an issue that when converting from BDDMockito.then().should(InOrder) to Mockito.verify() the InOrder variable remained.