Smockito
Smockito is a tiny framework-agnostic Scala 3 facade for Mockito. It enables setting up unique method and value stubs for any type in a type-safe manner, while providing an expressive interface for inspecting received arguments and call counts.
Smockito leverages a subset of Mockito’s features and offers a minimal, opinionated interface, guided by a few core principles described in the Motivation. Head to the Getting Started section to learn how to use Smockito in your Scala 3 projects and dive into the Guide page for a detailed overview of its capabilities.