Comments (8)
Hello, I'm going to release 2.0.0
version this weekend. Before that, you can try Mokkery 2.0.0-RC1
as it's based on Kotlin 2.0.0-RC2
.
from mokkery.
Thanks @lupuuss
Honestly, the experience up to now has been a bit limited, since we just started a new project, but we're not seeing any major issues as of now. We will absolutely be reporting anything we find, thank you for the good work!
Thanks for the information regarding the Kotlin version bump, will keep testing with the config flag and move to the new version with the new Mokkery release!
Best,
-martin
from mokkery.
Mokkery 2.0.0 is out with K2 support!
from mokkery.
U r amazing 🤩
from mokkery.
Hi Martin,
I am really glad that you use Mokkery. Of course Kotlin 2.0 support is planned and it should not require much effort. I already did some tests with Kotlin 2.0.0-Beta3
and 2.0.0-Beta4
and it seems to work just fine. If you are interested I should be able to do pre-release version with Kotlin 2.0.0-Beta4
. Also I plan to remove Kotlin version restriction so this pre-release should work with future Kotlin pre-releases. Although, it's not guaranteed, because compiler API might change.
Before this pre-release you can try kotlin.experimental.tryK2=true
flag without bumping Kotlin version.
Also, I would be grateful for a feedback on your experience with Mokkery (inconveniences, feature request etc). Feel free to open other issues.
Best regards,
Damian
from mokkery.
Hi @LambergaR,
I've released version with K2 support, so you can try it!
Best regards,
Damian
from mokkery.
Hello! Great work on Mokkery 😄. What is the timeline for the official 2.0.0 support? The version 2.0.0-Beta1 unfortunately doesn't work with the stable release of Kotlin 2.0.0.
Package 'dev.mokkery' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
from mokkery.
Looking for Mockkery support for kotlin 2.0 too. So far I can't get the Mockmp working, and mockative is stuck until kotlin 2.1. Mockkery is now my only option for kotlin 2.0 😭
from mokkery.
Related Issues (20)
- Mocks incompatible with value classes HOT 3
- Is not possible to mock a `data class` HOT 3
- Mocking `abstract`/`open` classes requires default constructor HOT 2
- Wasm-WASI Coroutines support HOT 1
- Kotlin 2.0.20 HOT 1
- NotImplementedError Error thrown during migration HOT 4
- NoSuchElementException thrown during migration HOT 2
- NullPointerException thrown during migration HOT 3
- Provide a short hand way to define every/everySuspend with all arg matchers set to any() HOT 2
- Mocked interface doesn't return the value already set with every HOT 4
- Provide way to return a computed value not just a straight value with returns/returnsSuccess HOT 2
- MockMode.autoUnit does not work when mocking functional types HOT 1
- Provide a way to block the return from a mocked suspend function HOT 10
- Not able to verify objects by their content HOT 2
- no such method: ContextIndependentParameterRenderer HOT 3
- Mokkery & all-open plugin on WasmJs HOT 6
- Shorthand for adding mokkery-coroutines does not work HOT 3
- New returnsSuccessBy lambda function should pass CallArgs HOT 5
- Provide callback mechanism when calls are made
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mokkery.