mockito-kotlin icon indicating copy to clipboard operation
mockito-kotlin copied to clipboard

Add additional matchers

Open tschuchortdev opened this issue 5 years ago • 2 comments
trafficstars

Adds some additional matchers like not, or leq. I couldn't be bothered to write tests because the code is so incredibly simple.

tschuchortdev avatar Mar 13 '20 13:03 tschuchortdev

Any plans to put this in?

perkss avatar Mar 02 '22 11:03 perkss

@tschuchortdev the code is simple, but it's still code, and the tests would protect it from breaking in the future. For example, if the functions get reordered, and accidentally change bodies or something we don't know yet. Verifying a basic requirement that the function delegates to the right one (by validating what it does e.g. tests would be different for lt and leq).

TWiStErRob avatar Dec 03 '23 10:12 TWiStErRob