All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.7.0 (2022-05-01)
- coarbitrary:
coarbitrary
is no longer exported from the thing.
- arbitrary: add
from
andfromK
(8d03475) - arbitrary: add
mk
andfromShrink
(45604ee) - arbitrary: add new signature (a31dfa5)
- e (65621cd)
- export
shrink
from entrypoint (25c203f) - gen: add
lazy
(f766150) - gen: add
union
(8c58bd4) - gen: constrain
of
toGen
(2174068) - gen: constrain gen
map
andap
outputs to beGen
(92fd85c) - iterable: add
bind
andbindTo
(b6c0b35) - shink: add
lazy
(f552256) - shrink: add
alt
(8900ef7) - shrink: add
boolean
(b0f3b47) - shrink: add
boolean
(c8fc166) - shrink: add
char
(36194d7) - shrink: add
fromGen
andfromGenK
(be16062) - shrink: add
fromIterable
(31b3f93) - shrink: add
int
(cd19862) - shrink: add
integer
(fc5ea1b) - shrink: add
partial
(5648854) - shrink: add
string
(5423e94) - shrink: add
struct
(f312fc4) - shrink: rename
recursiveWhile
torecursive
(9bb94a7)
- arbitrary:
char
andstring
now shrink (1f99d5e) - arbitrary:
filter
correctly filters branches (bdb17ed) - arbitrary: import
EnforceNonEmptyRecord
(8fc3669) - arbitrary: remove
float
(5f3aa82) - coarbitrary: use new Arbitrary type (30aed11)
- fix array shrink (6aa80d3)
- fp-ts: use bugfix from fp-ts for it's internals so
traversal
works as expected (b780e49) - gen:
filter
now matches when predicate returns true (6582d86) - shrink:
char
conditionally uses""
when shrinking (f2e3d0d) - shrink: move empty string handler from
char
tostring
(daea37d) - shrink: shrink to zero when the array is empty (90850d8)
- utils:
rightDichotomy
now works on negative numbers without going in a loop (78dd407)
- coarbitrary: remove
coarbitrary
and its exports (eb6ece8)
0.6.0 (2022-04-16)
- Added in the type signature for
shrink
. It's an empty implementation at the moment and shrinking is currently not used.
- add impl for boolean (509eb23)
- add impl for boolean (4f2cbca)
- add shrink to arbitrary (1b35997)
- add shrinkable in some implementations (25c1d2a)
- arbitrary: add shrink to int (880e8f9)
- iterable: add every (a14c792)
- iterable: add iterate (7f9f759)
- shrinkable: add
Shrinkable
to entry point (a87f854) - util: add quot (51fa02f)
- util: add rightDichotomy (862d439)
0.5.0 (2022-04-15)
- Removed number, use
int()
instead.
- add
stringNonempty
(236678e) - add float (a775dc9)
- add nullable (e9b1adc)
- add partial (30aaf26)
- add Testable2 interface (0189139)
- lots of great stuff (cdb85f1)
- make into options optional (02511b0)
- remove number primitive (bc90a95)
- rename make-assert to assert (28f5ad6)
0.4.0 (2022-03-23)
- These now take options for extensiblity and performance
0.3.2 (2022-03-21)
0.3.1 (2022-03-13)
- add union combinator (4da2d2b)
- rename
assert
toassertTask
- remove ChainRecTask from Quickcheck module
- remove currying from makeAssert (920e4fe)
- add
unsafeAssertSync
(f09f379) - add 0.1.0 version flag (5081a15)
- add assert (253f793)
- add better testable module (f182a33)
- add bind, Do and chainFirst to Gen (4572cac)
- add Corbitrary docs and combinators (ea2c3c9)
- add filter to arbitrary (1181210)
- add handle and assert (489e579)
- add nextSeed to generators (0e736dd)
- add testable assertion to catch most types (b0ce880)
- add testable assertionAsync (5ed5396)
- add unsafeAssertAsync (ac09d3f)
- adds lots of stuff (3b52f17)
- build packages (803a3f4)
- increase default count to 100 (15d3ab5)
- StateTask (bd2c823)
- testable requires only one HKT (2170fc3)
-
add implementation to filter (f39f471)
-
add version (797964e)
-
call property in main for assertion testable (0951517)
-
export all from index (38585b0)
-
remove need for peerDependencies (80aa300)
-
use correct path for type declarations (b8a961f)
-
remove ChainRecTask from Quickcheck module (6256c91)
-
rename
assert
toassertTask
(7808487)