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



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) } }

scala specs2 scalacheck

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -