Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
goshacodes authored Jan 10, 2025
1 parent 9c5bb47 commit c86d114
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ Native Scala mocking.
Official website: [scalamock.org](https://scalamock.org/)


## Scala 3 new API (since 7.0.1)
If new API is not what you need consider looking into `Standard API examples` section.
## Scala 3 alternative API (since 7.0.1)
Alternative API offers you:

Scalamock internals and new API relies on Scala 3 experimental API, so prerequisites are:
1. No thrown exceptions or argument matchers by default.
2. Support of functional effects like `ZIO/CE`.

If it is not what you need consider looking into `Standard API examples` section.

Scalamock internals and alternative API relies on Scala 3 experimental API, so prerequisites are:
```scala
scalaVersion := "3.4.2" // or higher
Test / scalacOptions += "-experimental"
Expand Down

0 comments on commit c86d114

Please sign in to comment.