I have a project with a lot of Scalacheck generators that is getting a GeneratorDrivenPropertyCheckFailedException with the message "Gave up after 0 successful property evaluations. 2 evaluations were discarded."
I want to have it try to evaluate it many more times like 500 (the default) would be fine, but I'm not seeing my configuration override actually being used.
I added this code to the test class and I'm still getting the exact same message. I've tried 'sbt clean' just to make sure something weird wasn't happening there.
implicit override val generatorDrivenConfig = PropertyCheckConfig(minSuccessful = 1, maxDiscarded = 500, workers = 1)
Why is my Scalacheck/Scalatest PropertyCheckConfig being ignored?
I'm using Scalatest 2.2.1 with Scalacheck 1.11.5 with Scala 2.10.4
Aucun commentaire:
Enregistrer un commentaire