easytest v0.3.0 Release Notes
-
- ๐ Switch backend of the library to build on the hedgehog library
- Change
Test
from kind* -> *
to kind*
. See my note for motivation. In short, this fixes a lot of bugs and we now support property testing.
โฌ๏ธ Upgrading:
โ
Test
now has kind*
. It's no longer a functor, applicative, monad, etc.- ๐ You can build an atomic test with
unitTest
(/example
) orpropertyTest
. - ๐ Also see
bracket
,bracket_
, andfinally
for tests with setup / teardown. - โ
tests
andscope
work as before. I mention them here because they're the other way to build tests.
โ Removed:
expect b
->assert b
expectEq a b
->a === b
expectJust
->matches _Just
expectRight
->matches _Right
expectRightNoShow
->matches _Right
expectLeft
->matches _Left
expectLeftNoShow
->matches _Left