package base_quickcheck
Randomized testing framework, designed for compatibility with Base
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=bb1e7362d52e00cb4c460ee64a05133aee12f120a81a682ceb5fb09d11d8acea
doc/base_quickcheck/Base_quickcheck/index.html
Module Base_quickcheck
Source
Generators are sources of random values. Every randomized test needs a generator to produce its inputs.
Observers create random functions. Generator.fn
creates a random function using an observer for the input type and a generator for the output type.
Shrinkers produce small values from large values. When a random test case fails, a shrinker finds the simplest version of the problem.
Use the Test module to run randomized tests. Each randomized test needs a generator, a shrinker, and a property to test.
Provides default generators, observers, and shrinkers for built-in types. Follows ppx_quickcheck naming conventions.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>