kotlinfixture
kotlinfixture copied to clipboard
Fixtures for Kotlin providing generated values for unit testing
Hello, First, thank you for the great library. Cannot import `import com.appmattus.kotlinfixture.kotlinFixture` error `Unresolved reference: appmattus`\ build.gradle(My Application) file: // Top-level build file where you can add configuration options common...
Hi there, According to your document about overriding nullability strategy, I have an issue with it in nullable properties. > By default, when the library comes across a nullable type,...
I have below classes. I want to create fixtures without `lateinit var` field , how can I achieve this? Thank you for your awesome project ```kotlin @Table("post") data class Post(...
Hello. Thanks to you, I can write test code comfortably, which is really nice. Thank you. After upgrading the JDK version to 21 recently, I encountered a message saying 'unsupported...
[KotlinFixture stacktrace.txt](https://github.com/appmattus/kotlinfixture/files/13886386/KotlinFixture.stacktrace.txt) I guess to a self-referencing overflow Fixture is stuck. But the stacktrace is interesting. It tries to connect to a web service. `ERROR StatusConsoleListener Could not find host...
When building complex data structures, I'd like to invoke other factories from within the current one. Something along the lines of ``` val myFixtures = kotlinFixture { factory { buildAComplexObject()...
When not explicitly adding any `factory {}` block and just trying to call `fixture()`, I get "Unable to resolve class". Now I have started adding `factory {}` blocks and wonder...
Hey @mattmook - love the library. Thanks for all the work you put into it. I'm proposing that we use it at Walmart to support our tests/sample apps. There's a...
As discussed in https://github.com/appmattus/kotlinfixture/issues/98, it would be nice to have a small helper function that would immediately create a randomized fixture, without having to write: ``` kotlinFixture().invoke() ``` each time....
Consider we have a class to create a fixture like this: ```kotlin class MyClass { var name: String = "initial value" protected set } ``` when we do: ```kotlin kotlinFixture...