PropFromFun
Helper class to satisfy ScalaJS compilation. Do not use this directly,
use Prop.apply
instead.
Helper class to satisfy ScalaJS compilation. Do not use this directly,
use Prop.apply
instead.
Value members
Concrete methods
Inherited methods
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate false.
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate false.
- Inherited from
- Prop
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate the same result as the other property.
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate the same result as the other property.
- Inherited from
- Prop
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
- Inherited from
- Prop
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
- Inherited from
- Prop
Returns a new property that holds if and only if both this and the given property generates a result with the exact same status. Note that this means that if one of the properties is proved, and the other one passed, then the resulting property will fail.
Returns a new property that holds if and only if both this and the given property generates a result with the exact same status. Note that this means that if one of the properties is proved, and the other one passed, then the resulting property will fail.
- Inherited from
- Prop
Combines two properties through implication
Combines two properties through implication
- Inherited from
- Prop
Convenience method that checks this property and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
Convenience method that checks this property and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
The provided argument should be a function that takes the default test parameters (Test.Parameters.default) as input and outputs a modified Test.Parameters instance that Example use:
p.check(_.withMinSuccessfulTests(500))
p.check { _.
withMinSuccessfulTests(80000).
withWorkers(4)
}
- Inherited from
- Prop
Convenience method that checks this property and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
Convenience method that checks this property and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
The default test parameters (Test.Parameters.default) are used for the check.
- Inherited from
- Prop
Convenience method that checks this property with the given parameters and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
Convenience method that checks this property with the given parameters and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.
- Inherited from
- Prop
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
- Inherited from
- Prop
Convenience method that makes it possible to use this property
as an application that checks itself on execution. Calls System.exit
with a non-zero exit code if the property check fails.
Convenience method that makes it possible to use this property
as an application that checks itself on execution. Calls System.exit
with a non-zero exit code if the property check fails.
- Inherited from
- Prop
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
- Inherited from
- Prop
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
- Inherited from
- Prop