Closed jkatnik closed 1 year ago
Hi @mjureczko
thank you for introducing that change so quickly.
Unfortunately, it doesn't work with Spring 2.7 because it is using Kotlin 1.6. by default.
using: testImplementation 'com.ocadotechnology.gembus:test-arranger:1.4.6
I haven't reported it earlier because I was hoping that I could convince my stakeholders to upgrade to spring boot 3.
Let me know if you can instantiate Foo using the arranger's java method, i.e.: Arranger.some(Foo::class.java)
.
Anyway, test-arranger does not depend on new Kotlin features, so I can change the Kotlin dependency to a lesser version on the 1.4.x line.
val foo = Arranger.some(Foo::class.java)
works fine
@mjureczko regarding downgrading the Kotlin version in 1.4.x - it is a good idea, please release in your spare time, no hurry :)
@jkatnik version 1.4.6.1, with downgraded kotlin dependency, has been released
@mjureczko thanks!
Hello,
currently in TestArranger doesn't assign random values if the Kotlin constructor has default values. I was explained that this is a design choice within the Ocado organization.
As an external user, I'd like to be able to change that behavior via the properties file so that Test Arranger would fit my project needs.