Changelog for easytest-0.3
0.3.0 (3/6/2019)
- 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
0.2.1 (10/24/2018)
- Fix build errors for GHC 8.6, prevent building on GHC before 7.10
- Only print emojis for Unicode-capable terminals
0.2 (3/27/2018)
expectRight
now showsLeft
s.expectRightNoShow
replicates the old functionality.- Call stacks now longer show EasyTest porcelain.
expectJust
andexpectRight
now return unit
0.1.1 (3/25/2018)
- Add ghc 7.10.3 compatibility.
- allow async 2.2, ghc 8.4 compatibility
- build with latest stackage nightly
0.1 (3/6/2018)
Initial release.