I'm new into Scala, Scalacheck and specs2 so bear with me if maybe question is kind of obvious. I tried to look an example of this but couldnt find anything related.
Basically I'm looking for a way to create a test class using specs2 to define a Prop.forAll property which receives as parameters another scalacheck Property ( donno if this is possible ), a generator ( Gen[A] ) and a filepath and checks if the property pass for a determined set of samples( coming from the generator) and saves the error in the file.
Is there anyway to implement this? Talking in a generic way