u/messiaslima

"Some" : A Library for generating dummy objects for testing
▲ 21 r/Kotlin+2 crossposts

"Some" : A Library for generating dummy objects for testing

Hey everyone!

I wanted to share a library I recently built to reduce boilerplate when writing tests.

I was getting really tired of hand-crafting massive dummy objects, breaking test isolation with shared instances, and having dozens of tests fail to compile just because I added a single field to a data class. I used tools like kotlinfixture and Kotest Arbs for a while, but I wanted something that was 100% pure Kotlin under the hood to perfectly handle things like Sealed Interfaces.

So, I built Some. It’s a Kotlin JVM library that instantly generates fully populated test instances without any setup. You just call:

val testObject = some<MyClass>()

...and it handles the rest (including deeply nested structures and recursive sealed classes).

I just published it on GitHub and also blog post about why I built it and how it works. I'd love for you to check it out and hear any feedback!

💻 GitHub: https://github.com/MessiasLima/Some
📖 Docs: https://some.appoutlet.dev/
📣 Blog post:  https://blog.appoutlet.dev/some-a-library-to-generate-dummy-objects-for-unit-testing-in-kotlin/

github.com
u/messiaslima — 3 days ago

I want to start recording my own stuff, entering this music production rabbit hole.

I still don't have nice gear, just a computer and a 3 pair of in ears available. I did some research on them and I want you hear opinions of people more experienced than me about what is the less "worse" to start with.

KZ EDX Pro X (Cheap IEM)
Its the cheapest of the 3, Simple, no processing, but it seems to have the most V shaped response of the 3

Apple EarPods USB C (the wired one)
It sounds good for the price, but its USB C so it has some processing that I cant control. Kinda of V shaped too

Apple AirPods Pro 2
This is the best sound among the 3 I have available, but I heard it has some kind of "Adaptive EQ" that can mask the actual sound of my mix.... All of them will mask, since they are all consumer targeted devices.

Which of the three is the least bad?

P.S.: I know I will need to invest a couple of coins towards gear, I just wanted to start right ways! Never is too early to start learning!

reddit.com
u/messiaslima — 25 days ago