scalacheck case class random data generator

前端 未结 3 1027
遇见更好的自我
遇见更好的自我 2021-01-01 19:34

I\'m trying to generate random data with Scalacheck. I have a hierarchy of case classes with many properties. The only way I\'ve found so far to populate the case classes is

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 20:19

    There is a shapeless based Scalacheck library https://github.com/alexarchambault/scalacheck-shapeless what you might be looking for

提交回复
热议问题