# Hspec Megaparsec
[](http://opensource.org/licenses/BSD-3-Clause)
[](https://hackage.haskell.org/package/hspec-megaparsec)
[](http://stackage.org/nightly/package/hspec-megaparsec)
[](http://stackage.org/lts/package/hspec-megaparsec)

The package is the recommended library for testing
[`Megaparsec`](https://hackage.haskell.org/package/megaparsec) parsers with
with [`Hspec`](https://hackage.haskell.org/package/hspec). As of Megaparsec
5.1.0, its test suite is re-written with Hspec and this package with a few
ad-hoc helpers.
Consult the Haddocks for usage, which should be trivial. Also see test suite
of this package or [Megaparsec test
suite](https://github.com/mrkkrp/megaparsec/tree/master/tests).
## Contribution
Issues, bugs, and questions may be reported in [the GitHub issue tracker for
this project](https://github.com/mrkkrp/hspec-megaparsec/issues).
Pull requests are also welcome.
## License
Copyright © 2016–present Mark Karpov
Distributed under BSD 3 clause license.