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. 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
- Alphabetic
- By Inheritance
- ScalaCheckJUnitPropertiesRunner
- Runner
- Describable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ScalaCheckJUnitPropertiesRunner(suiteClass: Class[Properties])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val consoleReporter: ConsoleReporter
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val getDescription: Description
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
run(notifier: RunNotifier): Unit
Run this
Suiteof tests, reporting results to the passedRunNotifier.Run this
Suiteof tests, reporting results to the passedRunNotifier. This class's implementation of this method invokesrunon an instance of thesuiteClassClasspassed to the primary constructor, passing in aReporterthat forwards to theRunNotifierpassed to this method asnotifier.- notifier
the JUnit
RunNotifierto which to report the results of executing this suite of tests
- Definition Classes
- ScalaCheckJUnitPropertiesRunner → Runner
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
testCount(): Int
Returns the number of tests that are expected to run when this ScalaTest
Suiteis run.Returns the number of tests that are expected to run when this ScalaTest
Suiteis run.- returns
the expected number of tests that will run when this suite is run
- Definition Classes
- ScalaCheckJUnitPropertiesRunner → Runner
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )