Philipp Mayer
05/18/2020, 12:35 PMclass Element(
val measurements: customMeasurementObject,
val ausstattung: List<OtherObj>,
val something2: Float,
val something3: Float,
val no: Int)
and I want to compare it to a valid element.
How would I go about this? elementToTest shouldBe validElement
would throw an error, since they're not the same.
In AssertJ, I used isEqualToComparingFieldByField for that. What's the proper way to do that in Kotest?
I'm pretty sure I forgot something there.
Thanks in advance!