scala - Is it possible to specify at the site of a Property definition how many times to execute the Property? -


such this:

class myspec extends specification scalacheck { def = s2"""   mything should     right way $x1                                 """     def x1 = prop(4 /*times*/) { (...) =>       ...     }   } } 

use setparameters , mintestsok:

class myspec extends specification scalacheck { def = s2"""   mything should     right way $x1                                 """     def x1 = prop { (...) =>       ...     }.set(mintestsok = 1)   } } 

Popular posts from this blog