So, instead of 30 lines of nested boilerplate, you just write:
val user = some<User>()
It supports deeply nested structures, collections, and natively resolves recursive sealed class hierarchies.
I wrote a post with the reasoning behind it
https://t.co/cF7zIujHRh
I got so tired of updating 50 broken tests every time I added a single field to a Kotlin data class. 😩
So I built 'Some' that instantly generates fully populated test objects.
Check it out! 👇
https://t.co/sIk0L3qowf
#kotlin#opensource
The problem: Creating shared dummy objects breaks test isolation. But manually instantiating fresh objects means your tests break every time the model changes even if the logic didn't.
Here is the GitHub repo
https://t.co/bO2FSagEXT
@kibumLaura ChatGPT não. Tentei usar o Codeium uma vez mas ele começou me indicando coisas que eu não queria, e me irritei um pouco. Mais atrapalha do que ajuda. Então eu desativei