hedgehog.core
Type members
Classlikes
Whether a test is covered by a classifier, and therefore belongs to a Class
Whether a test is covered by a classifier, and therefore belongs to a Class
- Companion
- object
The total number of tests which are covered by a classifier.
The total number of tests which are covered by a classifier.
- Companion
- object
The relative number of tests which are covered by a classifier.
The relative number of tests which are covered by a classifier.
- Companion
- object
A record containing the details of a test run.
A record containing the details of a test run.
- Companion
- object
The extent to which a test is covered by a classifier.
The extent to which a test is covered by a classifier.
When a classifier's coverage does not exceed the required minimum, the test will be failed.
- Companion
- object
- Companion
- object
A slightly different way to express a property, with the added benefit of exposing a pure "test".
This enables running the test with specific examples, either as a "golden" test or from the shell. Or both.
The trade-off is that the A
needs to be exposed/declared, and it's likely to be some horrible multi-value tuple.
A slightly different way to express a property, with the added benefit of exposing a pure "test".
This enables running the test with specific examples, either as a "golden" test or from the shell. Or both.
The trade-off is that the A
needs to be exposed/declared, and it's likely to be some horrible multi-value tuple.
- Companion
- object
The numbers of times a property was able to shrink after a failing test.
The numbers of times a property was able to shrink after a failing test.
The number of shrinks to try before giving up on shrinking.
The number of shrinks to try before giving up on shrinking.
The status of a property test run.
The status of a property test run.
In the case of a failure it provides the seed used for the test, the number of shrinks, and the execution log.
- Companion
- object
The number of tests a property ran successfully.
The number of tests a property ran successfully.
- Companion
- object
NOTE: This differs from the Haskell version by not having an effect on the Node
for performance reasons.
See haskell-difference.md
for more information.
NOTE: This differs from the Haskell version by not having an effect on the Node
for performance reasons.
See haskell-difference.md
for more information.
FIXME The LazyList
here is critical to avoid running extra tests during shrinking.
The alternative might be something like:
https://github.com/hedgehogqa/scala-hedgehog/compare/topic/issue-66-lazy-shrinking
- Companion
- object