package contrib
Type Members
-
class
ScalaCheckJUnitPropertiesRunner extends Runner
This a JUnit runner that allows to run ScalaCheck properties (created into an object that implements Properties) as part of a JUnit test suite.
This a JUnit runner that allows to run ScalaCheck properties (created into an object that implements Properties) as part of a JUnit test suite. Each property will be counted as a failure or passed test by JUnit.
Properties are written in the exact same way as pure ScalaCheck; the only aifference is that the test suite class needs to be annotated with @RunWith[classOf[ScalaCheckJUnitPropertiesRunner]] so that JUnit knows how to run the tests