Changelog for easytest-0.3
0.3.0 (3/6/2019)
- Switch backend of the library to build on the hedgehog library
- Change
Testfrom 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_, andfinallyfor tests with setup / teardown. testsandscopework as before. I mention them here because they're the other way to build tests.
Removed:
expect b->assert bexpectEq a b->a === bexpectJust->matches _JustexpectRight->matches _RightexpectRightNoShow->matches _RightexpectLeft->matches _LeftexpectLeftNoShow->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)
expectRightnow showsLefts.expectRightNoShowreplicates the old functionality.- Call stacks now longer show EasyTest porcelain.
expectJustandexpectRightnow 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.