fmonniot / scala3mock

Mocking framework for Scala 3
https://francois.monniot.eu/scala3mock
Other
19 stars 1 forks source link

Improve ergonomic #27

Closed fmonniot closed 6 months ago

fmonniot commented 7 months ago

This PR improve the library ease of use by introduce a battery-included ScalaMocks trait that contains all a user needs to have to use the library. No more understanding what import is required in which situation.

Under the hood that new trait is composed from traits for the various categories (matchers, macros, etc…) so if you don't want everything you can build your own.

This PR introduces some breaking changes (hopefully for the last time) by removing the main package and renaming TestExpectationEx to MockExpectationFailed.

Remaining work